Create spec doc
create_spec_docCreates or reopens spec.md for the active work using the standard workdoc template, enabling coding agents to recover context from a durable spec.
Instructions
Create or reopen spec.md for the active work using the standard workdoc template.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_spec_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_id | No | Optional explicit work id. Defaults to the active work when unambiguous. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| work | Yes | ||
| created | Yes | ||
| target_paths | No |