{
  "name": "grepai_list_projects",
  "description": "List all projects within a workspace. Use this to discover project names and file paths relative to their project roots, which informs how to use the --path parameter in grepai_search.",
  "inputSchema": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "format": {
        "description": "Output format: 'json' (default) or 'toon' (token-efficient)",
        "type": "string"
      },
      "workspace": {
        "description": "Name of the workspace to list projects for (optional when mcp-serve was started with --workspace)",
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  }
}