Tool
tool
MCP tool for the documentation gate (mkdocs build --strict).
Runs mkdocs build --strict in a bounded subprocess against a target package
and turns the captured log into structured :class:DocGateFinding records by
delegating to :func:parse_mkdocs_output (no parsing re-implemented here).
DocGateTool
Bases: AXMTool
Run mkdocs build --strict and report documentation-gate findings.
Registered as doc_gate via the axm.tools entry point, so it is
reachable as an MCP tool, as axm doc_gate on the CLI, and as a DAG node.
Source code in packages/axm-audit/src/axm_audit/doc_gate/tool.py
name
property
Return tool name for registry lookup.
execute(*, path='.', timeout=_DEFAULT_TIMEOUT, **kwargs)
Run the documentation gate on the target package.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
Path to the package root holding |
'.'
|
timeout
|
int
|
Hard wall-clock bound (seconds) for the mkdocs subprocess. |
_DEFAULT_TIMEOUT
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with structured findings ( |
ToolResult
|
( |
ToolResult
|
mkdocs is absent, times out, or the build fails without findings. |