Framework-neutral helpers for JSON-style MCP tool definitions and arguments.
Summary
Functions
Decorates one JSON-style MCP tool map. Existing telemetry properties are preserved.
Validates arguments for the request_capability helper tool.
Adds the default-on request_capability tool unless it already exists.
Separates Armature telemetry from handler arguments.
Returns the framework-neutral request_capability MCP tool definition.
Returns the Armature telemetry JSON Schema fragment.
Functions
Decorates one JSON-style MCP tool map. Existing telemetry properties are preserved.
Validates arguments for the request_capability helper tool.
Adds the default-on request_capability tool unless it already exists.
Separates Armature telemetry from handler arguments.
If the original tool schema already owns a top-level telemetry property,
the arguments are returned untouched to avoid changing that tool's contract.
@spec request_capability_tool() :: map()
Returns the framework-neutral request_capability MCP tool definition.
@spec telemetry_schema() :: map()
Returns the Armature telemetry JSON Schema fragment.