{ "name": "grepai_search", "description": "Semantic code search. Search your codebase using natural language queries. Returns the most relevant code chunks with file paths, line numbers, and similarity scores.\n\nExamples:\n- workspace-only mode: workspace='acme', path='src/'\n- workspace + projects mode: workspace='acme', projects='backend,shared', path='api/'", "inputSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "properties": { "compact": { "description": "Return minimal output without content (default: false)", "type": "boolean" }, "format": { "description": "Output format: 'json' (default) or 'toon' (token-efficient)", "type": "string" }, "limit": { "description": "Maximum number of results to return (default: 10)", "type": "number" }, "path": { "description": "Path prefix to filter results. When projects is set, path is relative to each selected project root (not workspace root). Examples: workspace-only path='src/' and workspace+projects path='MM32/src' or 'api/'.", "type": "string" }, "projects": { "description": "Comma-separated list of project names to search within workspace (requires workspace)", "type": "string" }, "query": { "description": "Natural language search query (e.g., 'user authentication flow', 'error handling middleware')", "type": "string" }, "workspace": { "description": "Workspace name for cross-project search (optional)", "type": "string" } }, "required": [ "query" ], "type": "object" } }