sonar_execute_tool
Executes any SonarQube tool by name and optional arguments. Use after retrieving the tool's schema to understand required parameters.
Instructions
Execute any SonarQube tool by name with the provided arguments.
Use after getting the schema to understand required parameters.
Args: tool_name: Name of the tool to execute (e.g., 'sonar_list_issues') arguments: Tool-specific arguments (optional). See sonar_get_tool_schema for details.
Returns: The tool's return value, or error dict if tool not found or execution fails.
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": {
"tool_name": "<tool_name>"
},
"name": "sonar_execute_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool_name | Yes | ||
| arguments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||