sage_find_agent
Find an agent by human name across local and connected SAGEs and return exact addresses for messaging. Use scope=local or peer_chain to narrow results.
Instructions
Find an agent by human name in one lookup across this SAGE and connected SAGEs by default. Uses a bounded substring lookup across display name, immutable registered name, and provider; ASCII matching is case-insensitive, non-ASCII code points require registered casing, and exact field matches rank first across both local and federated results. Same-named agents are returned with distinct exact addresses; choose the intended recipient before sending. No separate sage_federation lookup is needed. Use scope=local to search only this SAGE, or peer_chain to search one exact connected SAGE. Returns exact values ready for sage_message_send.to. This is not a global directory or an online/reachability check: an absent match is not proof that a previously known exact agent_id is unreachable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human display-name, registered-name, or provider substring to find (for example, "mynah" finds "MYNAH (SAGE Voice Bridge Agent)"). ASCII matching is case-insensitive and bounded; non-ASCII code points require registered casing; exact field matches rank first. | |
| limit | No | Maximum matches to return (default: 10, max: 20). | |
| scope | No | Search local and connected SAGEs together by default. Use local to skip federation network checks; local cannot be combined with peer_chain or peer_cursor. | all |
| peer_chain | No | Optional exact connected SAGE chain ID. When set, skips local matches and searches only that peer; useful when both SAGEs have an agent with the same display name. | |
| peer_cursor | No | Bounded federated continuation returned by an incomplete previous lookup. Omit for the first page. |