get_context_for_action
Retrieve pre-edit context: constraints, decisions, bugs, co-edits, related facts, and risk score to enable informed, lower-risk file changes.
Instructions
Pre-action context bundle: constraints, decisions, bugs, co-edits, related facts, and risk score for a file before editing
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": {
"file_path": "<file_path>",
"action_type": "<action_type>"
},
"name": "get_context_for_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| action_type | Yes |