Get my role
get_my_roleSTART HERE — call this first even on an operator key. A role key answers for itself. An operator key with no role returns the attach/hire path (get_team_roster → attach_agent_key, or interview_for_hire → hire_agent_with_context → link_agent_okrs) instead of erroring. After attach, pass agent_id from get_team_roster. When you wear a role it returns the company, what this role is for, the numbers it moves, what is due, recommended_host_wake (FreedomOS does not wake you), anything waiting on your operator, and notes left for you.
Routing: Start of every turn (role key or operator key) → get_my_role. No role yet → it returns the attach/hire sequence. Wearing a role → the brief.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | The role to read. Omit it when you are calling with that role's own key — the key already says which role you are. | |
| companyId | Yes | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. |