write_state
Store key-value pairs in consultation shared state to coordinate subagents, track discovered concepts, record current phase, or mark conflicts during multi-agent system architecture reviews.
Instructions
SHARED STATE (write) — Upsert a key-value pair in consultation shared state. Use for subagent coordination: store discovered concepts, current phase, conflict markers, or any JSON-serializable value. Logs a state_write step to the consultation.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| consultation_id | Yes | The consultation session ID | |
| key | Yes | State key (e.g. 'discovered_concepts', 'current_phase') | |
| value | Yes | Any JSON-serializable value to store |