Export Context
export_contextExport workspace context as CLAUDE.md, cursorrules, or intent-md files. Choose format and optionally specify an intent or product ID.
Instructions
Export workspace context as a formatted file. Use "claude-md" for CLAUDE.md (full workspace context), "cursorrules" for Cursor AI rules, or "intent-md" for a single intent specification file. For cursorrules/intent-md, product context is always derived from the resolved intent. For claude-md, pass productId to select a specific product, otherwise the first active product is used.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"format": "<format>"
},
"name": "export_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Export format | |
| intentId | No | Intent ID (optional, for cursorrules and intent-md) | |
| productId | No | Product ID (optional, only used for claude-md format to select a specific product) |