get_injection_context
Obtain a compact constraint and fact bundle to re-inject after context loss, for PostCompact and UserPromptSubmit hooks.
Instructions
Return a compact constraint+fact bundle for PostCompact / UserPromptSubmit hooks to re-inject after context loss.
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": {
"event_type": "<event_type>"
},
"name": "get_injection_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_facts | No | ||
| event_type | Yes | ||
| project_hint | No | ||
| max_constraints | No |