get_record_schema
Retrieve the schema and structure for record payloads to understand expected data formats and construct correct payloads for AI client interactions.
Instructions
Get the schema/structure for record payloads. Returns documentation about expected payload formats.
TEMPLATE: Replace with your domain-specific schema documentation. This helps AI clients construct correct payloads.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/my_mcp_server/server.py:752-780 (handler)The handler implementation of the tool 'get_record_schema' which returns the documentation for record payloads.
@mcp.tool() def get_record_schema() -> Dict[str, Any]: """ Get the schema/structure for record payloads. Returns documentation about expected payload formats. TEMPLATE: Replace with your domain-specific schema documentation. This helps AI clients construct correct payloads. """ return { "description": "Record payload schema for {{PROJECT_NAME}}", "note": "TEMPLATE: Replace this with your actual record schema", "required_fields": { "entity": { "type": "object", "description": "Reference to the owning entity", "example": {"id": "123"}, }, }, "optional_fields": { "memo": {"type": "string", "description": "Description"}, "date": {"type": "string", "format": "YYYY-MM-DD"}, }, "example": { "memo": "Example record", "entity": {"id": "123"}, "date": "2026-01-15", }, }