Search
search
SearchTool — semantic symbol search.
SearchTool
Bases: AXMTool
Search symbols by name, return type, kind, or base class.
Registered as ast_search via axm.tools entry point.
Source code in packages/axm-ast/src/axm_ast/tools/search.py
name
property
Return tool name for registry lookup.
execute(*, path='.', name=None, returns=None, kind=None, inherits=None, **kwargs)
Search symbols across a package.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
Path to package directory. |
'.'
|
name
|
str | None
|
Filter by symbol name (substring match). |
None
|
returns
|
str | None
|
Filter by return type. |
None
|
kind
|
str | None
|
Filter by kind (function, method, property, classmethod, staticmethod, abstract, class, variable). |
None
|
inherits
|
str | None
|
Filter by base class name. |
None
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with matching symbols. |