run_algorithm
Execute a QGIS Processing algorithm synchronously and retrieve its results and log; the QGIS UI is blocked until completion.
Instructions
Run a Processing algorithm synchronously. QGIS UI is blocked meanwhile. Returns results and the log.
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": {
"algorithm_id": "<algorithm_id>",
"parameters": "<parameters>"
},
"name": "run_algorithm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_s | No | ||
| parameters | Yes | ||
| algorithm_id | Yes |