sage_find_agent
Resolve an agent's human-readable name to an exact recipient for message sending. Searches local registrations first, with optional lookup across a connected peer chain.
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. |