Search Workspace Content
search_workspace_contentSearch across node names, SQL, column names, descriptions, and config values in a workspace using the in-memory lineage cache. Efficient for large workspaces—fetches all nodes on first call, uses cached data for subsequent searches.
Instructions
Search across node names, SQL, column names, descriptions, and config values in a workspace using the lineage cache as the data source.
Args: workspaceID: Workspace to search query: Text to search for (case-insensitive substring match) fields: (optional) Array of fields to search — any of: name, nodeType, sql, columnName, columnDataType, description, config. Defaults to all fields. nodeType: (optional) Filter results to a specific node type limit: (optional) Max results to return (1-200, default 50)
Returns: Matching nodes with the fields that matched and content snippets. Efficient for large workspaces — searches the in-memory cache instead of making per-node API calls.
Requires a populated lineage cache — will fetch all workspace nodes with detail=true on first call (may take a moment for large workspaces). Subsequent calls use the cached data (default TTL: 30 min).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 50) | |
| query | Yes | Search text (case-insensitive) | |
| fields | No | Fields to search — defaults to all if omitted | |
| nodeType | No | Filter to a specific node type | |
| workspaceID | Yes | Workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| fields | No | ||
| results | No | ||
| cacheAge | No | ||
| truncated | No | ||
| totalMatches | No | ||
| returnedCount | No | ||
| nodeTypeFilter | No |