[analysis]
Gets detailed information about a method signature including parameters, return type, and documentation.
| Name | Type | Required | Description |
|---|---|---|---|
| methodName | string | Yes | The name of the method to analyze. |
| containingTypeName | string | No | Optional containing type name to limit the search scope. |
| projectName | string | No | Optional project name to limit the search scope. |
Get method signature
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_method_signature",
"arguments": {
"methodName": "GetUserById"
}
}
}{
"success": true,
"data": {
"name": "LoadSolutionAsync",
"returnType": "Task",
"containingType": "ISolutionManager",
"parameters": [
{
"name": "solutionPath",
"type": "string",
"defaultValue": null,
"modifiers": []
}
]
},
"error": null
}Get method from specific type
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_method_signature",
"arguments": {
"methodName": "Save",
"containingTypeName": "UserRepository"
}
}
}{
"success": true,
"data": {
"name": "LoadSolutionAsync",
"returnType": "Task",
"containingType": "ISolutionManager",
"parameters": [
{
"name": "solutionPath",
"type": "string",
"defaultValue": null,
"modifiers": []
}
]
},
"error": null
}Returns method signature with parameters, return type, and documentation
Go to Playground to test this tool interactively.