Search symbols
search-symbolsSearch for AGS Extend SDK symbols by name, tags, or description using fuzzy matching. Returns paginated results filtered by symbol type (function or model) for code generation.
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 |
|---|---|---|---|
| limit | No | Maximum number of symbols to return (default: 25). | |
| query | Yes | Search terms for symbols (empty string returns all symbols). | |
| 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. |