rtm_create_narrative_tree
Convert narrative text into a structured tree model with configurable branching and depth parameters for efficient encoding and recall of information in the Narrative Graph MCP.
Instructions
Create a Random Tree Model encoding of a narrative text
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 encode | |
title | Yes | Title of the narrative | |
type | No | Type of narrative | other |
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 encode",
"type": "string"
},
"title": {
"description": "Title of the narrative",
"type": "string"
},
"type": {
"default": "other",
"description": "Type of narrative",
"enum": [
"story",
"article",
"dialogue",
"technical",
"other"
],
"type": "string"
}
},
"required": [
"text",
"title"
],
"type": "object"
}