search_ansa_api
Find ANSA Python API functions and code examples by searching documentation with natural language keywords in English or Chinese, with optional filtering by module or category.
Instructions
Search the ANSA Python API documentation.
Args: query: Search query (supports Chinese and English keywords) module: Filter by module name (e.g. "ansa.mesh", "ansa.base") category: Filter by category (e.g. "mesh_edit", "base_query") top_n: Maximum number of results to return (default 5)
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": "search_ansa_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| module | No | ||
| category | No | ||
| top_n | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |