search_partner_memory
Search a linked partner org's memory.
Use this when the user asks what a partner team has recorded about something.
Do not use it to search the caller's own memory; use `search_memory` for that.
Reads the partner org and writes nothing; a link is a read capability both
orgs agreed to rather than a project to switch into, so the caller's own scope
is untouched and `link_id` is passed per call. Results are the partner's
events and stay theirs. Calls are handled one at a time per org: a second link
call issued while one is in flight comes back with `reason: busy` without
running.
Args:
sentence: One complete sentence, not keywords.
link_id: Which link to read through, from `list_partner_links`.
top_n: Max hits (server-capped at 50).
domain: An optional single remote domain to narrow to.
Returns:
`{status, link_id, remote_org, hits: [{event_id, domain, summary,
timestamp, distance, link_id}], count}`. With `status="error"` the
`reason` (`no_links`, `contract_version_too_old`, `busy`, ...) describes
the state of the link, not a failure of the caller's own memory.
`event_id` feeds `get_partner_memory_content`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | Max hits (server-capped at 50). | |
| domain | No | An optional single remote domain to narrow to. | |
| link_id | Yes | Which link to read through, from `list_partner_links`. | |
| sentence | Yes | One complete sentence, not keywords. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||