generate_draft
Generate a draft for a novel project by providing a project path and run identifier; uses a configured provider with offline mock support.
Instructions
Generate and record a draft with a configured provider; mock works offline.
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": {
"path": "<path>",
"run_id": "<run_id>"
},
"name": "generate_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or current-directory-relative novel project path. | |
| run_id | Yes | Run identifier returned by build_context. | |
| provider | No | mock |