describe_logic
Describe the behavioral logic of any function or class: returns its raw body, identifies similar logic clusters, and measures structural centrality in the dependency graph.
Instructions
Describe the behavioral logic of a function or class — returns the raw function body, logic cluster membership (which other entities behave similarly), and structural centrality (PageRank importance in the dependency graph). Use when asked 'what does this function do internally', 'how does X work at a high level', or 'what is the logic of X'.
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": {
"name": "<name>"
},
"name": "describe_logic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Function or class name |