Create attention directive
create_attention_directiveQueue a short instruction for an external agent session — a coding/builder host (Grok terminal, Claude Code) or a Grok Bot desktop chat agent (host grok-bot, e.g. "send this to my FOS Integrator"). Pull sticky only: FreedomOS does not wake the host and does not type into their UI — the session must poll (poll-fo-directives.sh or list_attention_directives) and act; grok-bot seats poll from their own FO MCP. Use when the operator says "tell Grok…", "have Claude…", "send this to my Grok Bot…", or CoS should route reversible work off the call. Pass the same target_session_id the host polls (e.g. grok-, claude-, grok-bot-).
[write-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 |
|---|---|---|---|
| source | No | Optional provenance: voice_cos | chat | api | system. Default derived from door. | |
| companyId | No | FreedomOS company id to act within (you must be a member). Required for company-scoped tools. | |
| company_id | No | Optional company context (portfolio id). Does not change auth — row stays operator-scoped. | |
| instruction | Yes | One clear instruction for that session (1–4000 chars). Imperative, not a transcript dump. | |
| target_host | No | Host adapter: claude-code | claude-desktop | grok | grok-bot (desktop chat agent) | manual | slack | github | freedomos | other | |
| target_session_id | Yes | Stable id the host polls (1–200 chars). Examples: grok-$SESSION, claude-code-$SESSION. Must match the poller. |