Read a bounded service shortlist and details
run_discovery_workflowPreferred default for multi-step service discovery. One fixed read-only discovery workflow, inspired by Code Mode. Send requestJson containing mode recommend/catalogue, discoveryRequestJson with the exact original complete recommendation/search JSON string, optional maxCandidates 1–3, enrichment evidence/connection/both, compare boolean. At most five logical reads, validated before discovery. Returns a disclosed bounded projection of the first current-order candidates, original request, their unknowns, coverage, source evidence and individual read errors. Omitted counts and the full-response endpoint are explicit. Does not execute JavaScript or providers, fetch URLs, connect accounts, write, pay, retry or broaden requirements. Not a performance rank or task-quality check. See input and result limitations; completion means metadata reads only.
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": {
"requestJson": "<requestJson>"
},
"name": "run_discovery_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestJson | Yes | A fixed read-only composition, inspired by Code Mode; no code execution or Cloudflare runtime. JSON fields: mode recommend/catalogue, discoveryRequestJson (the EXACT unchanged complete JSON string for recommend_services/search_services, max8192 UTF-16 code units), optional maxCandidates 1–3 (default3), enrichment evidence/connection/both (defaultconnection), compare boolean (defaulttrue). Unknown/duplicate fields are rejected. At most five logical reads: one discovery, one per selected evidence or connection read, and one comparison when at least two are selected. The maximum requested plan must fit before discovery: both supports two candidates only with compare:false, or one candidate regardless. Existing parsers and all original conditions apply. First current-order candidates are selected; this is not a new quality ranking. Explicit bounded projection returns selected candidates only, with all their unknowns/options/evidence and full request/assessment/coverage/limitations. Omitted candidates and exclusion records are counted with a full-response endpoint; no condition is silently dropped. Catalogue pagination is reported separately from shortlist projection. Never fetches providers, connects accounts, accepts credentials, writes, pays, retries or switches providers. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||