findagent_attach_kb
Attach a knowledge base you own to an agent or department you own, to an organization you administer (org KB — auto-available to every agent/department run for the org’s active members), or bind it as your personal KB. Identify an agent/department target by target_slug (recommended) or target_id from findagent_list_my_agents; identify an org target by its slug/id from findagent_list_orgs (you must be an org owner or admin). Choose mode: tool (the agent gets a search_knowledge tool), auto_inject (relevant passages are prepended before the call), or both. This is NOT part of the agent manifest, so updating the KB needs no agent re-publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | How the KB is used. Default tool. | |
| kb_id | Yes | The knowledge base id (from findagent_list_kbs). | |
| target_id | No | The agent/department id you own (findagent_list_my_agents) or the org id you administer (findagent_list_orgs). Alternative to target_slug. Omit for user_personal. | |
| target_kind | Yes | What to attach it to. | |
| target_slug | No | The agent/department slug you own (findagent_list_my_agents) or the org slug you administer (findagent_list_orgs). Recommended over target_id. Omit for user_personal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attachment | No | ||
| instructions | No |