set_shared_context
Publish a shared context item so other agents can see your work. Use categories for contracts, utilities, decisions, or config.
Instructions
Set a shared context item so other agents can see your work. You SHOULD call this when:
You create or modify a shared interface/type → category: "contracts"
You create a reusable utility function → category: "utilities"
You make a technical/architectural decision → category: "decisions" (include rationale)
You add or change environment variables or config → category: "config" This enables parallel agents to stay coordinated without reading each other's code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Unique key for this context item | |
| value | Yes | Context value (e.g., { definition: "interface User {...}", location: "src/types.ts" }) | |
| category | Yes | Context category | |
| project_id | No | Project identifier - UUID, readable_id, or name/slug (optional - uses current project from claimed task if not provided) |