Call a Silkline endpoint
call_endpointFetch live public data from one endpoint. Use search_endpoints first to get the endpoint id and its parameters. The answer is { data, cursor, meta }: meta.charged_usd is what this call was charged and meta.balance_usd what is left. Charged per record returned; errors on our side are not charged. Needs an API key.
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": {
"endpoint": "<endpoint>"
},
"name": "call_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many records to return, 1 to 100 (default 10). Each record is charged at the endpoint's price, so ask for what you need. | |
| cursor | No | The cursor of the previous answer, to get the next records of the same listing. Send the same params with it. | |
| params | No | The endpoint's parameters as named by search_endpoints, for example { "keyword": "coffee" }. | |
| endpoint | Yes | The endpoint id from search_endpoints, for example "xiaohongshu/search". |