sage_find_agent
Find an active SAGE agent by display name, registered name, or provider to get the exact agent ID for messaging. Searches local then optional peer chain with bounded substring matching.
Instructions
Discover an active agent by a human name before sending a message. Searches active local registrations first with 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. Set peer_chain to search one exact connected SAGE instead, including when a local agent has the same name. 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). | |
| 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. |