Skip to content

Commit 3b3adf2

Browse files
committed
docs(mcp): align query_recipe format description with query
1 parent bc812a1 commit 3b3adf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/application/mcp-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function registerQueryRecipeTool(server: McpServer, opts: ServerOpts): void {
216216
"query_recipe",
217217
withToolAnnotations("query_recipe", {
218218
description:
219-
'Run a recipe by id (bundled or project-local). Output rows carry per-row `actions` hints (recipe-only — `query` never adds them). Parametrised recipes accept `params: {key: value}` validated against recipe frontmatter. Compose with `summary` / `changed_since` / `group_by` / `baseline` exactly like `query` (`baseline` adds `actions` on `added` rows only). Pass `format: "sarif"` / `"annotations"` / `"mermaid"` / `"diff"` / `"diff-json"` / `"codeclimate"` / `"badge"` to receive a formatted payload (incompatible with `summary` / `group_by` / `baseline`); SARIF rule id derives from the recipe id (`codemap.<recipe>`). With `format: "badge"`, optional `badge_style: "markdown"` or `"json"`. List available recipes via the `codemap://recipes` resource.',
219+
'Run a recipe by id (bundled or project-local). Output rows carry per-row `actions` hints (recipe-only — `query` never adds them). Parametrised recipes accept `params: {key: value}` validated against recipe frontmatter. Compose with `summary` / `changed_since` / `group_by` / `baseline` exactly like `query` (`baseline` adds `actions` on `added` rows only). Pass `format: "sarif"` / `"annotations"` / `"mermaid"` / `"diff"` / `"diff-json"` / `"codeclimate"` / `"badge"` to receive a formatted payload (incompatible with `summary` / `group_by` / `baseline`); SARIF rule id derives from the recipe id (`codemap.<recipe>`). With `format: "badge"`, optional `badge_style: "markdown"` (default) or `"json"` (`codemap-badge/v1`). codeclimate/badge count locatable rows only. List available recipes via the `codemap://recipes` resource.',
220220
inputSchema: queryRecipeArgsSchema,
221221
}),
222222
(args) => wrapToolResult(handleQueryRecipe(args, opts.root)),

0 commit comments

Comments
 (0)