Skip to main content
MCP Documentation

Document Tool Schemas

Detailed schema definitions for search, retrieval, and gated write operations across document tools.

Search requests

`DocumentSearchRequest` accepts keyword, semantic, and hybrid modes with pagination controls and scoring weights.

  • `compliance_tags` annotate sensitivity for policy enforcement.
  • `source_hint` directs the orchestrator toward priority repositories.
  • `max_results` defaults to 10 but can be tuned per persona.

Write approvals

`DocumentWriteProposal` packages draft content, diff previews, and review checklists. Approvers return `DocumentWriteDecision` with notes and follow-up tasks.

  • `retention_policy` aligns storage duration with organizational rules.
  • `ingest_hash` deduplicates repeated uploads.
  • `downstream_hooks` notify wiki or CMS systems upon approval.