consult_openrouter_batch
Process multiple OpenRouter prompts concurrently and return consolidated JSON results for CI/CD integration.
Instructions
Consult multiple OpenRouter queries in batch - perfect for CI/CD automation.
Processes multiple prompts concurrently and returns consolidated JSON output. Each query can have individual timeout and format preferences.
Args: queries: List of query dictionaries with keys: 'query' (required), 'timeout' (optional) directory: Working directory (required) format: Output format - currently only "json" supported for batch
Returns: JSON array with all results
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": {
"queries": "<queries>",
"directory": "<directory>"
},
"name": "consult_openrouter_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queries | Yes | ||
| directory | Yes | ||
| format | No | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |