read_function_body
Retrieve the complete source code of any function in your codebase for analysis.
Instructions
Read the full source code of a function.
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": {
"function_name": "<function_name>"
},
"name": "read_function_body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| function_name | Yes | Name of the function | |
| workspace_path | No | Target workspace (default: last configured) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |