Search symbols
search-symbolsSearch AGS Extend SDK functions and models by name, tags, or description with fuzzy matching. Filter by function or model type and paginate results.
Instructions
Search for symbols by name, tags, or description with fuzzy matching support.
Usage Patterns:
search_symbols(query: "auth") → finds auth-related symbols (paginated)
search_symbols(query: "create, user") → finds user creation symbols (paginated)
search_symbols(query: "") → returns all symbols (paginated)
search_symbols(query: "stats", symbolType: "function") → finds stats-related function symbols (paginated)
search_symbols(query: "stats", symbolType: "model") → finds stats-related model symbols (paginated)
search_symbols(query: "", symbolType: "function") → returns all function symbols (paginated)
search_symbols(query: "", symbolType: "model") → returns all model symbols (paginated)
Recommended Workflow:
Search: search_symbols(query: "user creation") → get the IDs of the symbols that match the query and other symbols that are referenced by the matched symbols.
Describe: describe_symbols( ids: [ "CreateUser@iam.function", "CreateUserRequest@iam.model", "CreateUserResponse@iam.model" ] )
Analyze: Use the symbol's description, imports, example, fields, parameters, and return_type for instantiation and usage information.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search terms for symbols (empty string returns all symbols). | |
| limit | No | Maximum number of symbols to return (default: 25). | |
| offset | No | Offset for pagination (default: 0). | |
| symbolType | No | Type of symbols to return (default: null, meaning all types). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Represents a paginated list of symbol summaries. |