Skip to content
TrustMeshVyantraa

Guides

Tool registration

Actions, sensitivity, input schemas and schema fingerprints.

Register a tool

bash
POST /v1/tools
{ "name": "refunds", "display_name": "Process Refund", "actions": ["process"], "sensitivity": "restricted",
  "description": "Refund a customer order.",
  "input_schema": { "type": "object", "additionalProperties": false, "required": ["order_id", "amount_usd"],
    "properties": { "order_id": { "type": "string", "pattern": "^ORD-[0-9]{5}$" },
                    "amount_usd": { "type": "number", "exclusiveMinimum": 0 } } } }

The schema must be a valid JSON Schema describing an object. Requests whose parameters fail validation are denied with INPUT_SCHEMA_INVALID.

Fingerprints

The fingerprint is sha256(canonical_json({name, description, input_schema})). The description is included on purpose: it is text the model reads, so a changed description can carry new instructions.

When a caller presents a fingerprint (tool_fingerprint on the runtime API) or a schema that does not match the approved one:

  1. the request is decided QUARANTINE with TOOL_SCHEMA_CHANGED;
  2. the tool's status becomes quarantined and later requests are denied with TOOL_QUARANTINED;
  3. a finding is raised, and the presented schema is stored as a version pending review.

A Security Analyst, Administrator or Owner approves the new fingerprint or rejects it from the tool page (POST /v1/tools/{id}/versions/{version_id}/approve|reject, note required).

MCP servers

POST /v1/mcp-servers registers a server (name, URL, transport) and tools can reference it. This build does not connect to or proxy MCP servers.