Skip to content

Proxy the agent service's tool list - #1370

Merged
tomchop merged 1 commit into
mainfrom
feat/agent-tools-endpoint
Sep 7, 2026
Merged

Proxy the agent service's tool list#1370
tomchop merged 1 commit into
mainfrom
feat/agent-tools-endpoint

Conversation

@tomchop

@tomchop tomchop commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Adds GET /api/v2/agents/tools, proxying the agent service's new /tools endpoint.

The persona editor currently offers a free-text field for tool names. A name the agent build does not implement is dropped silently when the agent is constructed, so a typo costs the persona a capability with nothing to show for it. This gives the UI the names this deployment actually implements, plus a description of each.

Pairs with yeti-platform/yeti-agents#12, which serves /tools, and yeti-platform/yeti-feeds-frontend#315, which consumes it. The frontend degrades to the current free-text behaviour if this endpoint is unavailable, so the three are independent at runtime.

Test: test_list_tools_forwards_names_and_descriptions, covering the same field-dropping trap that bit ADKSession.

The persona editor needs the tool names this deployment actually
implements, along with what each one does, so that naming a tool is a
choice from a list rather than a guess that fails silently.
@tomchop
tomchop merged commit d34d72e into main Sep 7, 2026
5 checks passed
@tomchop
tomchop deleted the feat/agent-tools-endpoint branch September 7, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant