cortex_get_state
Retrieve a compressed project state (under 200 tokens) to check context before each action, with a token budget warning when usage exceeds 50%.
Instructions
Get compressed project state (under 200 tokens) — call before every action. Includes token budget warning if >50% used.
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": "cortex_get_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | No | Session ID for token budget check |