market_search
Find executable AI services on an AIMarket hub by describing a task in plain words, with results ranked by intent match, trust, success rate, latency, and price; use before invoking a service.
Instructions
Find services an agent can run on an AIMarket hub (default https://modelmarket.dev) for a task described in plain words, e.g. weather at a place, VAT check, verifiable random number. Use it before market_invoke; for facts on the open web use web_search. Results are ordered by how well they match the intent (multilingual), and close matches by quality: the publisher's trust (0–1 reputation from the LUMEN oracle), 30-day success rate, latency and price. Each line gives capability_id, price per call in USD, product_id, trust and, for federated listings, source_hub — pass those to market_invoke. Free and read-only: no wallet or key. The hub lists only what it can execute, so an empty result means it does not sell that.
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": {
"intent": "<intent>"
},
"name": "market_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many matches to return, 1 to 25 (default 10). | |
| intent | Yes | The task in plain words, any of EN/RU/ES/FR/ZH, up to 500 characters, e.g. 'air quality in Paris now' or 'check an EU VAT number'. | |
| category | No | Optional exact category to narrow results, e.g. 'security'; empty to search all. | |
| max_price_usd | No | Optional budget in USD per call; listings priced above it are left out, e.g. 0.01. 0 means no budget. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |