WorkspaceMCP tools

MCP tools

Tool contracts

  • health — Protected read

    Service health

    Input: {}

    Output fields: status, service, version

    Protected read; strict empty-object schema.

    All tools require server-established identity, rate admission, policy, durable audit and output checks.

    {
      "name": "health",
      "arguments": {}
    }
    Illustrative request shape. Tool execution is unavailable in this website.
  • search_documents — Protected read

    Search approved documents

    Input: query: nonblank string ≤160, limit: integer 1–5

    Output fields: matches: approved document metadata

    Individual grant; policy and output screening.

    All tools require server-established identity, rate admission, policy, durable audit and output checks.

    {
      "name": "search_documents",
      "arguments": {
        "query": "library",
        "limit": 3
      }
    }
    Illustrative request shape. Tool execution is unavailable in this website.
  • read_document — Protected read

    Read an approved document

    Input: document_id: lowercase identifier ≤48

    Output fields: document_id, title, category, content

    Only approved documents; output screened.

    All tools require server-established identity, rate admission, policy, durable audit and output checks.

    {
      "name": "read_document",
      "arguments": {
        "document_id": "public"
      }
    }
    Illustrative request shape. Tool execution is unavailable in this website.
  • write_note — Protected write

    Persist a synthetic note

    Input: title: nonblank ≤120, body: ≤1500

    Output fields: note_id, persisted

    Individual grant, stable Idempotency-Key, durable audit and receipt. Unknown outcomes require operator reconciliation.

    All tools require server-established identity, rate admission, policy, durable audit and output checks.

    {
      "name": "write_note",
      "arguments": {
        "title": "Synthetic example",
        "body": "Demonstration only"
      }
    }
    Illustrative request shape. Tool execution is unavailable in this website.
  • send_message — Internal only

    Simulate a message with operator approval

    Input: recipient: ops-lab or docs-lab, subject ≤120, body ≤1500

    Output fields: simulation_id, recorded_in_memory

    Internal only; exact single-use operator approval.

    All tools require server-established identity, rate admission, policy, durable audit and output checks.

    {
      "name": "send_message",
      "arguments": {
        "recipient": "ops-lab",
        "subject": "Synthetic example",
        "body": "Demonstration only"
      }
    }
    Illustrative request shape. Tool execution is unavailable in this website.
  • fetch_url — Internal only

    Retrieve an allowlisted resource

    Input: url: ASCII HTTPS ≤2048

    Output fields: host, media_type, text

    Internal only; host allowlist, checked numeric destination, verified TLS and bounded response.

    All tools require server-established identity, rate admission, policy, durable audit and output checks.

    {
      "name": "fetch_url",
      "arguments": {
        "url": "https://example.com/"
      }
    }
    Illustrative request shape. Tool execution is unavailable in this website.