Update project context
update_project_contextRecord verified project knowledge—architecture, conventions, commands, design rules, constraints, and decisions—into .promptpilot/context.json. Capture confirmed facts to keep context accurate.
Instructions
Record verified project knowledge (architecture, conventions, commands, design rules, constraints, decisions) into .promptpilot/context.json. Only record facts you have verified, never guesses.
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": "update_project_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Project root directory. Defaults to the MCP client's current working directory. | |
| commands | No | Command name -> invocation, e.g. {"test": "npm test"}. | |
| decision | No | A verified decision to remember, with its reason. | |
| changeNote | No | One-line note for the context history. | |
| knownRisks | No | ||
| constraints | No | ||
| conventions | No | ||
| designRules | No | ||
| architecture | No |