function_signature
Retrieve the signature of a function or method from a source file using AST parsing. Provide the file path and symbol name to obtain its parameter list and return type.
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": {
"path": "<path>",
"symbol": "<symbol>"
},
"name": "function_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| symbol | Yes | ||
| language | No | python |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| name | No | ||
| error | No | ||
| found | Yes | ||
| symbol | Yes | ||
| signature | No | ||
| qualified_name | No |