Create task specification
create_task_specTurn a request into a validated TaskSpec with requirements, non-goals, assumptions, acceptance criteria, change boundaries, and verification commands, saving it to .promptpilot/specs for bounded work.
Instructions
Build a validated TaskSpec v1.0: requirements, non-goals, assumptions, open questions, chosen option, acceptance criteria, change boundaries, verification commands, and safety policy. Saved to .promptpilot/specs/ unless save=false.
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": {
"request": "<request>"
},
"name": "create_task_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Project root directory. Defaults to the MCP client's current working directory. | |
| save | No | Persist to .promptpilot/specs/ (default true). | |
| title | No | Optional short title; derived from the request when omitted. | |
| request | Yes | The natural-language request. | |
| nonGoals | No | Explicit non-goals for this task. | |
| allowedFiles | No | Extra globs to allow, e.g. "src/components/Header.tsx" or "src/**". | |
| chosenOptionId | No | Option id from generate_options to lock in. | |
| protectedPaths | No | Globs that must never change. | |
| verificationCommands | No | Override auto-detected lint/test/build commands. |