Check
check
SmeltCheckTool — MCP entry point for smelt check.
SmeltCheckTool
Bases: AXMTool
Analyze text/data for token waste without transforming it.
Input is resolved in order: caller-provided data, input_path, then
non-interactive standard input.
Registered as smelt_check via axm.tools entry point.
Source code in packages/axm-smelt/src/axm_smelt/tools/check.py
name
property
Return tool name for registry lookup.
execute(*, data='', input_path=None, **kwargs)
Analyze data for token reduction opportunities.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
JsonValue
|
Text or JSON data to analyze. |
''
|
input_path
|
str | None
|
Optional UTF-8 input file used when data is empty. |
None
|
Returns:
| Type | Description |
|---|---|
ToolResult
|
ToolResult with format, token count, and strategy estimates. |