Attach agent key
attach_agent_keyAttach your own bot (Grok Bot, a Claude routine, ChatGPT) to one role in this company, and get the key to paste into it. The bot then reads that role's brief every turn with get_my_role — what the company is, what the role is for, the numbers it moves, what is due right now — and its work is credited to the role. The key is shown ONCE and acts with your authority in this company only. Use when the operator wants their own bot to wear a role instead of FreedomOS running it for them. Resolve agent_id from get_team_roster.
Routing: Operator says "attach my bot / my Grok / Claude to ", "give me the key for ", "let my own bot run " → attach_agent_key. To stop it: 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 |
|---|---|---|---|
| dial | No | acts_as_me (default): the bot acts with your authority in this company, the same as your own key. asks_me: anything beyond reading and ordinary edits comes to you as a card first. Sends and spend always come to you either way. | |
| host | No | Which bot you are pasting the key into. A label only — it never changes what the key may do. Two hosts may wear one role at once; re-attaching the SAME host replaces that host's key. | |
| agent_id | Yes | UUID of the role to attach a bot to. From get_team_roster. | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |