Detach agent key
detach_agent_keyTake back the key a bot was using to wear a role in this company. The bot stops being able to read the brief or act as the role from its next turn; the role, its brief and its history stay exactly as they are. Use when the operator says "detach", "revoke the key", "stop my bot running ", or when a key may have leaked.
Routing: Operator says "detach / revoke / stop my bot on " → detach_agent_key.
[sensitive-tier — first use may require a manager's approval; a from-now-on approval makes future calls seamless, a just-once approval re-asks next time. Call it on the first clear ask; the card is the yes — do not re-ask in chat.]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Optional: detach only the key for this one bot. Omit it to detach every bot from the role. | |
| agent_id | Yes | UUID of the role to take the key back from. From get_team_roster. | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |