Schema Reference¶
This page collects the machine-readable protocol assets that sit alongside the markdown specifications.
JSON Schemas¶
schemas/memory-object.schema.jsonschemas/memory-content-preference.schema.jsonschemas/memory-content-semantic-fact.schema.jsonschemas/memory-content-relationship.schema.jsonschemas/memory-content-procedural-rule.schema.jsonschemas/memory-candidate.schema.jsonschemas/memory-evidence.schema.jsonschemas/memory-merge-hint.schema.jsonschemas/recall-intent.schema.jsonschemas/search-result-item.schema.jsonschemas/redaction-info.schema.jsonschemas/partial-failure.schema.jsonschemas/error-code.schema.jsonschemas/return-mode.schema.jsonschemas/retrieval-mode.schema.jsonschemas/score-kind.schema.jsonschemas/policy-context.schema.jsonschemas/request-envelope.schema.jsonschemas/response-envelope.schema.jsonschemas/protocol-capabilities.schema.jsonschemas/runtime-capabilities.schema.jsonschemas/negotiated-capabilities.schema.jsonschemas/initialize.request.schema.jsonschemas/initialize.response.schema.jsonschemas/async-task.schema.jsonschemas/progress-event.schema.jsonschemas/get-task.request.schema.jsonschemas/get-task.response.schema.jsonschemas/cancel-task.request.schema.jsonschemas/cancel-task.response.schema.jsonschemas/audit-event.schema.jsonschemas/lineage-link.schema.jsonschemas/backend-capabilities.schema.jsonschemas/adapter-manifest.schema.jsonschemas/write-memory.request.schema.jsonschemas/write-memory.response.schema.jsonschemas/search-memory.request.schema.jsonschemas/search-memory.response.schema.jsonschemas/get-memory.request.schema.jsonschemas/get-memory.response.schema.jsonschemas/update-memory.request.schema.jsonschemas/update-memory.response.schema.jsonschemas/expire-memory.request.schema.jsonschemas/expire-memory.response.schema.jsonschemas/revoke-memory.request.schema.jsonschemas/revoke-memory.response.schema.jsonschemas/delete-memory.request.schema.jsonschemas/delete-memory.response.schema.jsonschemas/purge-memory.request.schema.jsonschemas/purge-memory.response.schema.jsonschemas/write-batch.request.schema.jsonschemas/write-batch.response.schema.jsonschemas/export.request.schema.jsonschemas/export.response.schema.jsonschemas/import.request.schema.jsonschemas/import.response.schema.jsonschemas/sync.request.schema.jsonschemas/sync.response.schema.jsonschemas/audit-query.request.schema.jsonschemas/audit-query.response.schema.jsonschemas/capabilities.response.schema.json
API Assets¶
openapi/mgp-openapi.yaml
How To Use These Assets¶
Recommended reading order:
- Start with the relevant
spec/document to understand the intended behavior. - Check the matching request, response, or object schema in
schemas/. - If you are implementing HTTP, confirm the endpoint mapping in
openapi/mgp-openapi.yaml. - Verify the executable behavior in
reference/gateway/andcompliance/.
Notes¶
- The schemas are the canonical machine-readable source for MGP object validation.
schemas/response-envelope.schema.jsondefines the shared outer response shell, while operation-specific response schemas define the exactdatacontract for each endpoint.- The OpenAPI file mirrors the HTTP binding defined in
spec/http-binding.md.