Deactivate agent
deactivate_agentDeactivate (archive) an AI agent/specialist from the team. Use when user says "remove [agent]", "deactivate [agent]", "archive [agent]", "fire [agent]", "delete [agent]". The agent is soft-deleted (is_active=false) and can be reactivated later. Cannot deactivate Linnet (the orchestrator).
Routing: Before deactivating, resolve agent_id via get_team_roster and confirm with the user if names are similar. Agent reports ride the activity plan (add_agent_activity / trigger_agent_activity).
[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 |
|---|---|---|---|
| reason | No | Optional reason for deactivation | |
| agent_id | Yes | UUID of the agent to deactivate | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |