Run mode
run_modeReturns the published framework text for one named mode within a chapter, rather than the full chapter. Repeat calls return the same mode content — the text is not regenerated per call. Each call appends one usage-counter row and returns a new invocation_id used for feedback.
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": {
"loop_slug": "<loop_slug>",
"node": "<node>",
"mode_slug": "<mode_slug>"
},
"name": "run_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Chapter node | |
| context | No | Optional user context | |
| loop_slug | Yes | Loop slug | |
| mode_slug | Yes | Mode slug (e.g. 'equity-screen', 'regime-overlay') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | No | ||
| loop_slug | No | ||
| mode_slug | No | ||
| loop_title | No | ||
| author_name | No | ||
| content_note | No | ||
| invocation_id | No | ||
| terms_glossary | No | ||
| framework_content | No |