search_traces
Find coding traces using natural language queries and tag filters to access shared programming knowledge and solutions.
Instructions
Search CommonTrace for coding traces matching a natural language query and/or tags.
Args: query: Natural language description of what you're looking for tags: Filter by tags like language, framework, or task type (AND semantics) limit: Maximum number of results (1-50, default 10) context: Searcher's environment context for relevance boosting (e.g. {"language": "python", "os": "linux"}) include_expired: Include expired traces (de-ranked) or exclude entirely (default True)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| tags | No | ||
| limit | No | ||
| context | No | ||
| include_expired | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |