create_attention_directive
Queue 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"). Does NOT type into their UI — the session must poll FreedomOS (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.]
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. |