37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
{
|
|
"name": "grepai_rpg_explore",
|
|
"description": "Explore the RPG graph using BFS traversal from a starting node with configurable depth and edge type filtering.",
|
|
"inputSchema": {
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"properties": {
|
|
"depth": {
|
|
"description": "Maximum BFS depth (default: 2)",
|
|
"type": "number"
|
|
},
|
|
"direction": {
|
|
"description": "Traversal direction: 'forward', 'reverse', or 'both' (default: 'both')",
|
|
"type": "string"
|
|
},
|
|
"edge_types": {
|
|
"description": "Comma-separated edge types to follow: feature_parent, contains, invokes, imports, maps_to_chunk, semantic_sim",
|
|
"type": "string"
|
|
},
|
|
"format": {
|
|
"description": "Output format: 'json' (default) or 'toon' (token-efficient)",
|
|
"type": "string"
|
|
},
|
|
"limit": {
|
|
"description": "Maximum nodes to return (default: 100)",
|
|
"type": "number"
|
|
},
|
|
"start_node_id": {
|
|
"description": "Starting node ID for graph traversal",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"start_node_id"
|
|
],
|
|
"type": "object"
|
|
}
|
|
} |