ads_match
Search ads by semantic similarity to a text query. Returns ranked results with scores and metadata.
Instructions
Match ads by text query. Returns similar ads based on semantic similarity.
Args:
query: Text query to match against ads
top_k: Number of results to return (default: 10, max: 100)
Returns:
JSON string containing list of matching ads with scores and metadata
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": {
"query": "<query>"
},
"name": "ads_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |