search_kcl_samples
Search Zoo KCL sample titles and descriptions by keyword to find relevant CAD modeling examples, ranked by relevance with excerpts.
Instructions
Search KCL samples by keyword.
Searches across all KCL sample titles and descriptions for the given query. Returns matching samples ranked by relevance.
Args: query (str): The search query (case-insensitive). max_results (int): Maximum number of results to return (default: 5).
Returns: list[dict]: List of search results, each containing: - name: The public project ID (use with get_kcl_sample) - title: Human-readable title - description: Brief description of the sample - multipleFiles: Whether the sample contains multiple KCL files. Best-effort hint only — see list_kcl_samples for the full caveat. Call get_kcl_sample if you need a reliable answer. - match_count: Number of times the query appears in title/description - excerpt: A relevant excerpt with the match in context
Raises: ToolError: The sample index could not be fetched; the call can be retried.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |