Source: schemas/served_context.json #

View this page as Markdown

Generated automatically from the published contract sources.

Source path: schemas/served_context.json.

Complete source #

{
  "title": "tzCloud — served context index",
  "description": "What the served context serves (CTX-01 in the served context contract): the contract set the three forms generate from, the guide slots the bundle must fill, and the capability map the overview opens with, each row one capability and either the skill row or the documentation page that serves it. A test in the platform's suite holds the contract rows complete in both directions, and each capability row's skill to a row carrying a page and its page to a served route.",
  "version": "2026-11-18.1",
  "contracts": [
    {
      "subject": "the run-layer manifest",
      "document": "admission_manifest.md",
      "enumeration": "schemas/manifest.schema.json"
    },
    {
      "subject": "the MCP surface",
      "document": "mcp_surface.md",
      "enumeration": "schemas/mcp_surface.json"
    },
    {
      "subject": "the management plane",
      "document": "management_api_contract.md",
      "enumeration": "schemas/management_api.json"
    },
    {
      "subject": "the wire error shape",
      "document": "management_api_contract.md",
      "enumeration": "schemas/wire_error.schema.json"
    },
    {
      "subject": "the refusal names",
      "document": "management_api_contract.md",
      "enumeration": "schemas/wire_errors.json"
    },
    {
      "subject": "the per-action payloads",
      "document": "management_api_contract.md",
      "enumeration": "schemas/action_payloads.json"
    },
    {
      "subject": "the skill rows",
      "document": "mcp_surface.md",
      "enumeration": "schemas/skills.json"
    },
    {
      "subject": "the tool-answer budgets",
      "document": "mcp_surface.md",
      "enumeration": "schemas/answer_budgets.json"
    },
    {
      "subject": "the library catalog",
      "document": "library_catalog.md",
      "enumeration": "schemas/library_catalog.json"
    },
    {
      "subject": "a project's library folder manifest",
      "document": "library_catalog.md",
      "enumeration": "schemas/library_manifest.schema.json"
    },
    {
      "subject": "the served context itself",
      "document": "served_context.md",
      "enumeration": "schemas/served_context.json"
    }
  ],
  "guides": [
    {
      "subject": "schema_evolution",
      "source": "CHI-L0-13",
      "commands": [
        "migrate",
        "reset",
        "seed",
        "status",
        "diff",
        "snapshot"
      ],
      "path": "guides/schema_evolution.md"
    },
    {
      "subject": "library_first",
      "source": "API-L0-14",
      "commands": [
        "read_library",
        "add-library-entry",
        "update-library"
      ],
      "path": "guides/library_first.md"
    }
  ],
  "capabilities": [
    {
      "capability": "a whole app",
      "page": "/cloud/getting-started/build-a-database-backed-service/"
    },
    {
      "capability": "an app from a tool with no shell",
      "page": "/cloud/getting-started/build-from-a-chat-ai/"
    },
    {
      "capability": "a form that saves to a database",
      "page": "/cloud/guides/build-a-form-backed-by-a-database/"
    },
    {
      "capability": "a database",
      "skill": "add-service"
    },
    {
      "capability": "end-user sign-in",
      "skill": "add-sign-in"
    },
    {
      "capability": "AI on your account's balance",
      "skill": "use-ai-allowance"
    },
    {
      "capability": "file storage",
      "page": "/cloud/guides/store-files/"
    },
    {
      "capability": "a web client",
      "page": "/cloud/guides/serve-a-web-client/"
    },
    {
      "capability": "push notifications",
      "page": "/cloud/guides/send-push-notifications/"
    },
    {
      "capability": "sending email",
      "page": "/cloud/guides/send-email-from-your-application/"
    },
    {
      "capability": "scheduled jobs",
      "skill": "schedule"
    }
  ],
  "readers": {
    "catalog_page_size": 32,
    "text_default_limit": 8000,
    "text_max_limit": 16000,
    "tool_index_max_length": 9000,
    "tool_index_sentence_length": 85,
    "id_max_length": 160,
    "search_match_limit": 8,
    "query_max_length": 200,
    "headings_limit": 200,
    "heading_max_length": 200,
    "search_page_limit": 3,
    "context_lines": 2,
    "excerpt_max_length": 200,
    "search_prefix_length": 4,
    "search_word_limit": 12,
    "search_bm25_k1": 1.2,
    "search_bm25_b": 0.75,
    "search_stop_words": [
      "a",
      "an",
      "the",
      "of",
      "to",
      "in",
      "is",
      "and",
      "for",
      "with",
      "how",
      "what",
      "do",
      "does",
      "it",
      "its",
      "this",
      "that",
      "these",
      "those"
    ]
  }
}