Tools
A support agent may need only some of a connector's tools. This page is about the tools that connectors bring. To give the agent your own code as a tool, see Tool calling and dispatch.
The examples use DeepWiki, which needs no sign-in. Add it as in Custom MCP servers.
Offer only some tools
--tools names the tools to offer, or a pattern such as ask_*, separated by commas. Quote the list so your shell leaves * alone. To change an entry that is already there, unbind it first:
getstream agents connectors unbind support deepwiki
getstream agents connectors bind support custom_deepwiki --connection deepwiki --tools 'ask_*,read_wiki_structure'The bind adds this to agents/support/agent.yaml and syncs the agent. The agent gets read_wiki_structure and every tool whose name starts with ask_. See a full agent.yaml for the rest of the file.
# ...
connectors:
- name: deepwiki
connector: custom_deepwiki
connection: deepwiki
tools:
- ask_*
- read_wiki_structureCheck the new grant:
getstream agents tools supportCONNECTOR NAME ACCOUNT GRANT REQUIRED SANDBOX
custom_deepwiki deepwiki App connection deepwiki ask_*, read_wiki_structure no noLeave --tools out to offer every tool. The agent then stores the pattern *.
See a connection's tools
getstream agents connections tools deepwikiTOOL READS ONLY NEEDS SCOPES
ask_wiki_question no
read_wiki_contents no
read_wiki_structure noThe CLI validates the connection first, so the list is what the provider offers now.
See what the agent gets
For an agent that offers every tool:
getstream agents tools supportCONNECTOR NAME ACCOUNT GRANT REQUIRED SANDBOX
custom_deepwiki deepwiki App connection deepwiki All tools no noIt shows each connector as stored now: as last synced, plus any change saved in the Dashboard since. GRANT reads All tools when every tool is offered, and otherwise the tool names or patterns as written in agent.yaml. ACCOUNT reads Each user's own for a connector with no connection.
To list every tool of each app connection and whether the agent gets it, add --all. Here the grant is the one from Offer only some tools:
getstream agents tools support --allNAME TOOL GRANTED
deepwiki ask_wiki_question yes
deepwiki read_wiki_contents no
deepwiki read_wiki_structure yesGRANTED is yes for a tool the agent gets.
Give a connector another name
The model sees each tool as <name>__<tool>. Pass --as when that name should differ from the connector id:
getstream agents connectors unbind support deepwiki
getstream agents connectors bind support custom_deepwiki --connection deepwiki --as wikiThe bind adds this to agents/support/agent.yaml, and the model sees wiki__ask_wiki_question. See a full agent.yaml for the rest of the file.
# ...
connectors:
- name: wiki
connector: custom_deepwiki
connection: deepwikiThe NAME column of getstream agents tools support shows it.
Require a connector
By default a connector is optional: when its connection is missing or not connected, the session goes on without its tools. --required refuses to open the session instead:
getstream agents connectors unbind support github
getstream agents connectors bind support github --connection acme --requiredThe bind adds this to agents/support/agent.yaml. See a full agent.yaml for the rest of the file.
# ...
connectors:
- name: github
connection: acme
required: trueA test with a connection that is not connected yet, such as a connection made in the Dashboard and not yet authorized, stops before the conversation:
getstream agents test support --textError: cannot start a conversation with support: session: required connector "github" cannot be used: not_connected: the connection is not connectedThe REQUIRED column of getstream agents tools support shows yes.
Where to manage connectors
The first bind copies connectors already saved in the Dashboard into agent.yaml, then adds this one. After that, sync sends the file.
MCP servers live in connectors/mcp/, added with getstream agents mcp. HTTP APIs live in connectors/http/, sent with getstream agents connectors sync.
When someone changed the connectors in the Dashboard since your last sync, getstream agents sync stops and shows the change. To keep the change, run the bind or unbind that makes it, with --overwrite. For example, a teammate added linear in the Dashboard: run getstream agents connectors bind support linear --overwrite. To drop it, run getstream agents sync with --overwrite.
agent.yaml keys
Each entry under connectors takes these keys:
| Key | What it sets | Default |
|---|---|---|
name |
The name the model sees each tool under, as <name>__<tool> |
Required |
connector |
The connector id, such as linear or custom_deepwiki |
name |
connection |
The app connection to use, by its label or its id. See App connection | Each user's own account |
tools |
Tool names or patterns to offer. See Offer only some tools | Every tool |
required |
true refuses a session whose connection is missing or not connected |
Optional: the session goes on without it |
sandbox |
true lets code in the agent's sandbox call the connector's API. See Sandbox |
No access |
A name alone, such as - linear, is the same as name: linear.
When the agent syncs, a connector whose connection the app doesn't have is left out with a warning, and the rest of the agent syncs. With required: true, the sync fails instead. Leaving connectors out of agent.yaml keeps what is already stored, and an empty list removes it.
Going further
What a connector is, a quickstart, and which connection it uses.
One account the app owns, for every conversation.
Any MCP server: a public one, or one behind a key.
Turn an API's endpoints into tools with a file.
Run your own code as a tool.
Errors you may see, why, and what to do.