Choose the best SwishrJobs capability for a task
select_capabilityRank capabilities for a described task by task match, measured synthetic success rate, and expected cost per accepted result, and explain the ranking. Use this to decide which capability to run before quoting it. The task may be described in English, Arabic, Spanish, French, German, Portuguese, Chinese, or Japanese; this is discovery only, and every deliverable is produced in English.
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": {
"task": "<task>"
},
"name": "select_capability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The work the caller wants done, in words. Any supported language; native scripts and transliterations are both accepted. | |
| limit | No | ||
| available_only | No | Exclude capabilities the provider cannot run right now. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| results | Yes | ||
| service | No | ||
| version | No | ||
| language | No | How the query was read for multilingual discovery. Present on every response; null only when multilingual matching is disabled. | |
| ranking_basis | Yes | ||
| total_capabilities | No | ||
| excluded_unavailable | No | ||
| measured_capabilities | No | ||
| supported_query_languages | No | Languages discovery accepts, with labels. Null when multilingual matching is disabled. |