rtm_traverse_narrative
Analyze narrative text at customizable abstraction levels by traversing its structure, extracting summaries based on depth, branching factor, and recall settings for enhanced understanding.
Instructions
Traverse a narrative tree at different depths to get summaries at varying abstraction levels
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxBranchingFactor | No | Maximum number of child nodes (K parameter) | |
maxRecallDepth | No | Maximum depth for recall (D parameter) | |
text | Yes | The narrative text to traverse | |
title | Yes | Title of the narrative | |
traversalDepth | Yes | Depth to traverse in the tree (controls abstraction level) |
Input Schema (JSON Schema)
{
"additionalProperties": false,
"properties": {
"maxBranchingFactor": {
"default": 4,
"description": "Maximum number of child nodes (K parameter)",
"type": "number"
},
"maxRecallDepth": {
"default": 6,
"description": "Maximum depth for recall (D parameter)",
"type": "number"
},
"text": {
"description": "The narrative text to traverse",
"type": "string"
},
"title": {
"description": "Title of the narrative",
"type": "string"
},
"traversalDepth": {
"description": "Depth to traverse in the tree (controls abstraction level)",
"maximum": 10,
"minimum": 1,
"type": "number"
}
},
"required": [
"text",
"title",
"traversalDepth"
],
"type": "object"
}