The audit and compile tools in the agentic-workflows MCP server reject max_tokens as an unknown parameter, yet the testing guidelines and workflow documentation instruct callers to always pass this parameter. This causes unexpected failures for anyone following the documented testing approach.
Reproduction
agenticworkflows audit --run_id_or_url 24761741707 --max_tokens 5000
Error:
{"error": "validating \"arguments\": validating root: unexpected additional properties [\"max_tokens\"]", "isError": true}
agenticworkflows compile --workflows "auto-triage-issues" --max_tokens 5000
Error:
{"error": "validating \"arguments\": validating root: unexpected additional properties [\"max_tokens\"]", "isError": true}
Expected Behavior
The max_tokens parameter should either be:
- Accepted and respected — truncate/limit the response to the specified token count to keep downstream context windows bounded, OR
- Documented as unsupported — the testing workflow documentation should be updated to remove references to
max_tokens for audit and compile
Contrast: logs Tool
The logs tool does accept max_tokens without error (returns a file path with cached data). Only audit and compile reject it.
Impact
- Severity: Medium — any automated test or workflow that follows the documented
max_tokens: 5000 guidance for audit/compile calls will fail entirely rather than return partial results
- Frequency: Always (100% reproducible)
- Workaround: Omit
max_tokens from audit and compile calls
Environment
- Repository: github/gh-aw
- Run ID: §24761773317
- Date: 2026-04-22
References:
Generated by Daily CLI Tools Exploratory Tester · ● 1.9M · ◷
The
auditandcompiletools in the agentic-workflows MCP server rejectmax_tokensas an unknown parameter, yet the testing guidelines and workflow documentation instruct callers to always pass this parameter. This causes unexpected failures for anyone following the documented testing approach.Reproduction
Error:
agenticworkflows compile --workflows "auto-triage-issues" --max_tokens 5000Error:
Expected Behavior
The
max_tokensparameter should either be:max_tokensforauditandcompileContrast:
logsToolThe
logstool does acceptmax_tokenswithout error (returns a file path with cached data). Onlyauditandcompilereject it.Impact
max_tokens: 5000guidance foraudit/compilecalls will fail entirely rather than return partial resultsmax_tokensfromauditandcompilecallsEnvironment
References: