Endpoints: 28,729MCP servers: 18,413Payout addresses: 2,071Paid calls: 1,544Letters: 14Defects: 1,324counted 2 min ago
teppi

Server definition

Hash
sha256:f8e49bf338067813a36a0f9904aa062624dc0284fd11e72c5ce637cb81d5d528
What it is
What a remote MCP server returned when asked what it offers: 10 tools

The blob, as servednamed by its sha256

{ "instructions": "For getting started without a named topic, call start_memostem with the conversation language as locale. Respond in the user's language, falling back to host locale then English. Account connection never authorizes saving knowledge. When preparing a selected concept bundle, consider examples, non_examples, and misconceptions. Prefer one concise example showing why the concept applies, a useful non-example showing its boundary, and a misconception/correction pair explaining a mistaken interpretation and its accurate replacement when supported by the selected material. Add them within that selected concept, not as extra cards. These are quality guidance, not a quota: use empty arrays when no useful supported entry exists. Never invent evidence, sources, or claims that the user holds a misconception. Keep uncertainty and the original selection/consent boundary; enrich neither unrelated topics nor unprovided conversation history. This client is not connected to a MemoStem account. At the person's direct request, or after they clearly accept a specific capture proposal, save_guest_knowledge_bundles may keep only the selected current-conversation general knowledge in a private temporary guest shelf. Reuse the opaque workspace_token only as a tool argument; never quote, summarize, display, or place it in a URL. The separate review_url lets the person view the read-only shelf in mobile or desktop web. A shelf holds at most 10 pending cards for 90 days. If the person asks to reopen it after a link expires, use refresh_guest_knowledge_shelf_link with the same private workspace_token; it creates no card. Never send a transcript, conversation history, ambient files, personal or organization-specific memory, secrets, credentials, sensitive material, or anything the person declined to share. When account_required is true, explain that the shelf is full and call claim_guest_knowledge_workspace after the person agrees to connect; its authorization challenge starts OAuth and transfers the same cards into the owner's private pending review.", "tools": [ { "description": "Verify the authenticated MemoStem connection and report only the currently granted knowledge permissions. This test does not read or write knowledge.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": {}, "type": "object" }, "name": "check_memostem_connection", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "draft_review_path": { "const": "/knowledge-inbox", "type": "string" }, "granted_scopes": { "items": { "enum": [ "knowledge:drafts:create", "knowledge:context:read", "knowledge:drafts:status" ], "type": "string" }, "maxItems": 3, "minItems": 1, "type": "array" }, "settings_path": { "const": "/settings#ai-connections", "type": "string" }, "status": { "const": "connected", "type": "string" } }, "required": [ "status", "granted_scopes", "draft_review_path", "settings_path" ], "type": "object" } }, { "description": "Transfer the temporary guest shelf identified by workspace_token to the authenticated MemoStem owner as private pending drafts. Call only after the person explicitly agrees to connect or after the guest shelf reports account_required. This tool never approves or publishes cards.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "workspace_token": { "pattern": "^mgw_[A-Za-z0-9_-]{43}$", "type": "string" } }, "required": [ "workspace_token" ], "type": "object" }, "name": "claim_guest_knowledge_workspace", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "claimed_draft_count": { "maximum": 10, "minimum": 0, "type": "integer" }, "review_path": { "pattern": "^\\/knowledge-inbox.*", "type": "string" }, "status": { "const": "pending", "type": "string" } }, "required": [ "status", "claimed_draft_count", "review_path" ], "type": "object" } }, { "description": "Connect or grant knowledge read permission through the host OAuth flow, then show a page of the authenticated owner's topic labels. Never creates knowledge.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "cursor": { "anyOf": [ { "maxLength": 512, "minLength": 1, "type": "string" }, { "type": "null" } ] }, "locale": { "maxLength": 64, "type": "string" } }, "type": "object" }, "name": "connect_memostem", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "locale": { "enum": [ "ko", "en" ], "type": "string" }, "next_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "status": { "enum": [ "connection_required", "permission_required", "topics", "empty" ], "type": "string" }, "topics": { "items": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ], "type": "object" }, "maxItems": 20, "type": "array" } }, "required": [ "status", "locale", "topics", "next_cursor" ], "type": "object" } }, { "description": "Create pending, user-owned general-knowledge card drafts only after clear affirmative consent to specifically named, independently teachable knowledge in the current conversation. Every card must declare knowledge_scope as general_knowledge. Personal or company decisions, product principles or policies, pricing rationale, preferences, plans, tasks, reminders, meeting outcomes, project status, and autobiographical facts are ineligible. An assistant suggestion alone is not consent. This tool never accepts raw transcripts or historical-conversation data, and it cannot approve, publish, or modify public knowledge cards.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "cards": { "items": { "additionalProperties": false, "properties": { "client_card_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "evidence_selectors": { "items": { "oneOf": [ { "additionalProperties": false, "properties": { "message_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "message", "type": "string" } }, "required": [ "selector_type", "message_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "external_ref", "type": "string" }, "source_ref": { "maxLength": 2048, "minLength": 1, "type": "string" } }, "required": [ "selector_type", "source_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "end": { "maximum": 10000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "text_position", "type": "string" }, "start": { "maximum": 9999999, "minimum": 0, "type": "integer" } }, "required": [ "selector_type", "start", "end" ], "type": "object" }, { "additionalProperties": false, "properties": { "line_end": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "line_start": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "line_range", "type": "string" } }, "required": [ "selector_type", "line_start", "line_end" ], "type": "object" } ] }, "maxItems": 24, "type": "array" }, "explanation": { "maxLength": 6000, "minLength": 1, "type": "string" }, "knowledge_scope": { "const": "general_knowledge", "description": "Required assertion that this card teaches reusable knowledge independent of a person, company, product, preference, plan, task, or decision.", "type": "string" }, "relations": { "items": { "additionalProperties": false, "properties": { "direction": { "enum": [ "outgoing", "incoming" ], "type": "string" }, "evidence_selector_indexes": { "items": { "maximum": 23, "minimum": 0, "type": "integer" }, "maxItems": 24, "type": "array" }, "target_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "target_kind": { "description": "Minimal-core drafts may relate only to the owner's private knowledge or another draft; public graph targets are unavailable.", "enum": [ "private", "draft" ], "type": "string" }, "type": { "enum": [ "related", "prerequisite", "generalizes", "derived_from", "equivalent_to", "supersedes", "answers", "supports", "contradicts", "causes", "contributes_to", "enables", "inhibits" ], "type": "string" }, "weight": { "exclusiveMinimum": 0, "maximum": 1, "type": "number" } }, "required": [ "target_kind", "target_id", "type" ], "type": "object" }, "maxItems": 12, "type": "array" }, "summary": { "maxLength": 500, "minLength": 1, "type": "string" }, "tags": { "items": { "maxLength": 48, "minLength": 1, "type": "string" }, "maxItems": 12, "type": "array" }, "title": { "maxLength": 120, "minLength": 1, "type": "string" }, "topic": { "maxLength": 48, "minLength": 1, "type": "string" } }, "required": [ "knowledge_scope", "title" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "provenance": { "additionalProperties": false, "properties": { "conversation_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "discussed_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "source_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "type": { "const": "current_conversation", "type": "string" } }, "required": [ "type", "conversation_ref" ], "type": "object" }, "provider": { "enum": [ "chatgpt", "claude", "gemini", "other" ], "type": "string" }, "request_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "provider", "request_id", "provenance", "cards" ], "type": "object" }, "name": "create_card_drafts", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "batch_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "created": { "type": "boolean" }, "draft_count": { "maximum": 50, "minimum": 0, "type": "integer" }, "review_flags": { "items": { "additionalProperties": false, "properties": { "client_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "code": { "enum": [ "possible_autobiographical", "possible_organization_specific", "possible_choice_rationale", "possible_task_or_meeting", "possible_project_status" ], "type": "string" }, "field": { "maxLength": 240, "type": "string" }, "match": { "maxLength": 80, "type": "string" }, "message": { "maxLength": 240, "type": "string" } }, "required": [ "client_id", "code", "field", "match", "message" ], "type": "object" }, "maxItems": 600, "type": "array" }, "review_path": { "maxLength": 512, "pattern": "^\\/.*", "type": "string" }, "review_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "status": { "const": "pending", "type": "string" } }, "required": [ "status", "batch_id", "created", "draft_count", "review_path", "review_url", "review_flags" ], "type": "object" } }, { "description": "Create pending, user-owned concept, general procedure, comparison, mechanism, structure, claim/evidence, knowledge question, historical event, or language-expression drafts only after clear affirmative consent to specifically named, independently teachable general knowledge in the current conversation. Every bundle must declare knowledge_scope as general_knowledge; decisions and organization-specific material are not accepted. An assistant suggestion alone is not consent. It cannot approve drafts, retain transcripts, or modify public knowledge.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "bundles": { "items": { "additionalProperties": false, "properties": { "bundle_schema_version": { "const": 1, "type": "number" }, "central_question": { "maxLength": 500, "minLength": 1, "type": "string" }, "client_bundle_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "evidence_selectors": { "items": { "oneOf": [ { "additionalProperties": false, "properties": { "message_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "message", "type": "string" } }, "required": [ "selector_type", "message_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "external_ref", "type": "string" }, "source_ref": { "maxLength": 2048, "minLength": 1, "type": "string" } }, "required": [ "selector_type", "source_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "end": { "maximum": 10000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "text_position", "type": "string" }, "start": { "maximum": 9999999, "minimum": 0, "type": "integer" } }, "required": [ "selector_type", "start", "end" ], "type": "object" }, { "additionalProperties": false, "properties": { "line_end": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "line_start": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "line_range", "type": "string" } }, "required": [ "selector_type", "line_start", "line_end" ], "type": "object" } ] }, "maxItems": 24, "type": "array" }, "knowledge_scope": { "const": "general_knowledge", "description": "Required assertion that this bundle teaches reusable knowledge independent of a person, company, product, preference, plan, task, or decision.", "type": "string" }, "knowledge_type": { "enum": [ "concept", "procedure", "comparison", "mechanism", "structure", "claim_evidence", "question", "event", "expression" ], "type": "string" }, "relations": { "items": { "additionalProperties": false, "properties": { "direction": { "enum": [ "outgoing", "incoming" ], "type": "string" }, "evidence_selector_indexes": { "items": { "maximum": 23, "minimum": 0, "type": "integer" }, "maxItems": 24, "type": "array" }, "target_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "target_kind": { "description": "Minimal-core drafts may relate only to the owner's private knowledge or another draft; public graph targets are unavailable.", "enum": [ "private", "draft" ], "type": "string" }, "type": { "enum": [ "related", "prerequisite", "generalizes", "derived_from", "equivalent_to", "supersedes", "answers", "supports", "contradicts", "causes", "contributes_to", "enables", "inhibits" ], "type": "string" }, "weight": { "exclusiveMinimum": 0, "maximum": 1, "type": "number" } }, "required": [ "target_kind", "target_id", "type" ], "type": "object" }, "maxItems": 12, "type": "array" }, "resolution_proposal": { "additionalProperties": false, "properties": { "action": { "enum": [ "save_new", "merge", "update" ], "type": "string" }, "change_summary": { "additionalProperties": false, "properties": { "added": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "changed": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "conflicts": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "preserved": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" } }, "type": "object" }, "expected_target_version": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "reason": { "maxLength": 1000, "minLength": 1, "type": "string" }, "source_item_ids": { "items": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "maxItems": 50, "minItems": 1, "type": "array" }, "target_item_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "action", "source_item_ids", "change_summary", "reason" ], "type": "object" }, "structured_content": { "oneOf": [ { "additionalProperties": false, "properties": { "definition": { "default": "", "maxLength": 4000, "type": "string" }, "examples": { "default": [], "description": "Concrete instances of this concept; explain why each fits. Prefer one concise example supported by the selected material when useful; otherwise use an empty array.", "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "key_points": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "misconceptions": { "default": [], "description": "Misconceptions and corrections as {claim, correction} pairs: a mistaken interpretation and its accurate replacement with a brief reason. Include only when supported by the selected material; otherwise use an empty array. Never attribute a misconception to the user or fabricate evidence.", "items": { "additionalProperties": false, "properties": { "claim": { "maxLength": 500, "minLength": 1, "type": "string" }, "correction": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "claim", "correction" ], "type": "object" }, "maxItems": 12, "type": "array" }, "non_examples": { "default": [], "description": "Nearby cases that do not meet the definition; explain the distinguishing boundary. Include only when supported by the selected material and useful; otherwise use an empty array.", "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "concept", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "branches": { "default": [], "items": { "additionalProperties": false, "properties": { "action": { "maxLength": 4000, "minLength": 1, "type": "string" }, "condition": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "condition", "action" ], "type": "object" }, "maxItems": 16, "type": "array" }, "done_when": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "failure_modes": { "default": [], "items": { "additionalProperties": false, "properties": { "response": { "maxLength": 4000, "minLength": 1, "type": "string" }, "symptom": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "symptom", "response" ], "type": "object" }, "maxItems": 16, "type": "array" }, "goal": { "default": "", "maxLength": 4000, "type": "string" }, "prerequisites": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "steps": { "default": [], "items": { "additionalProperties": false, "properties": { "detail": { "default": "", "maxLength": 4000, "type": "string" }, "title": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "maxItems": 30, "type": "array" }, "type": { "const": "procedure", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "choice_guide": { "default": [], "items": { "additionalProperties": false, "properties": { "condition": { "maxLength": 500, "minLength": 1, "type": "string" }, "recommendation": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "condition", "recommendation" ], "type": "object" }, "maxItems": 16, "type": "array" }, "commonalities": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "criteria": { "default": [], "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 500, "minLength": 1, "type": "string" }, "values": { "items": { "maxLength": 4000, "minLength": 1, "type": "string" }, "maxItems": 8, "type": "array" } }, "required": [ "name", "values" ], "type": "object" }, "maxItems": 20, "type": "array" }, "differences": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "targets": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 8, "type": "array" }, "type": { "const": "comparison", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "causes": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "conditions": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "exceptions": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "results": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "stages": { "default": [], "items": { "additionalProperties": false, "properties": { "detail": { "default": "", "maxLength": 4000, "type": "string" }, "title": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "maxItems": 30, "type": "array" }, "type": { "const": "mechanism", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "boundaries": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "components": { "default": [], "items": { "additionalProperties": false, "properties": { "id": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "label": { "maxLength": 500, "minLength": 1, "type": "string" }, "parent_id": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "role": { "default": "", "maxLength": 4000, "type": "string" } }, "required": [ "id", "label" ], "type": "object" }, "maxItems": 40, "type": "array" }, "purpose": { "default": "", "maxLength": 4000, "type": "string" }, "relations": { "default": [], "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 500, "minLength": 1, "type": "string" }, "source_id": { "maxLength": 80, "minLength": 1, "type": "string" }, "target_id": { "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "source_id", "target_id", "label" ], "type": "object" }, "maxItems": 60, "type": "array" }, "type": { "const": "structure", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "claim": { "default": "", "maxLength": 4000, "type": "string" }, "confidence": { "enum": [ "low", "medium", "high" ], "type": "string" }, "counterevidence": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "evidence": { "default": [], "items": { "additionalProperties": false, "properties": { "source": { "maxLength": 1000, "minLength": 1, "type": "string" }, "statement": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "statement" ], "type": "object" }, "maxItems": 24, "type": "array" }, "limitations": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "scope": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "claim_evidence", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "answer_summary": { "default": "", "maxLength": 4000, "type": "string" }, "context": { "default": "", "maxLength": 4000, "type": "string" }, "hypotheses": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "known_facts": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "next_steps": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "question": { "default": "", "maxLength": 4000, "type": "string" }, "status": { "default": "open", "enum": [ "open", "answered" ], "type": "string" }, "type": { "const": "question", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "context": { "default": "", "maxLength": 4000, "type": "string" }, "criteria": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "decision": { "default": "", "maxLength": 4000, "type": "string" }, "options": { "default": [], "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 500, "minLength": 1, "type": "string" }, "tradeoffs": { "default": "", "maxLength": 4000, "type": "string" } }, "required": [ "name" ], "type": "object" }, "maxItems": 24, "type": "array" }, "outcome": { "default": "", "maxLength": 4000, "type": "string" }, "rationale": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "reconsider_when": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "decision", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "causes": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "changes": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "chronology": { "additionalProperties": false, "properties": { "end": { "additionalProperties": false, "properties": { "day": { "maximum": 31, "minimum": 1, "type": "integer" }, "era": { "enum": [ "bce", "ce" ], "type": "string" }, "month": { "maximum": 12, "minimum": 1, "type": "integer" }, "year": { "maximum": 999999, "minimum": 1, "type": "integer" } }, "required": [ "year", "era" ], "type": "object" }, "precision": { "enum": [ "exact", "day", "month", "year", "decade", "century", "approximate", "range" ], "type": "string" }, "start": { "additionalProperties": false, "properties": { "day": { "maximum": 31, "minimum": 1, "type": "integer" }, "era": { "enum": [ "bce", "ce" ], "type": "string" }, "month": { "maximum": 12, "minimum": 1, "type": "integer" }, "year": { "maximum": 999999, "minimum": 1, "type": "integer" } }, "required": [ "year", "era" ], "type": "object" } }, "required": [ "start", "precision" ], "type": "object" }, "consequences": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "context": { "default": "", "maxLength": 4000, "type": "string" }, "event": { "default": "", "maxLength": 4000, "type": "string" }, "occurred_at": { "default": "", "maxLength": 500, "type": "string" }, "type": { "const": "event", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "common_mistakes": { "default": [], "items": { "additionalProperties": false, "properties": { "correction": { "maxLength": 4000, "minLength": 1, "type": "string" }, "incorrect": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "incorrect", "correction" ], "type": "object" }, "maxItems": 24, "type": "array" }, "contrasts": { "default": [], "items": { "additionalProperties": false, "properties": { "difference": { "maxLength": 4000, "minLength": 1, "type": "string" }, "expression": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "expression", "difference" ], "type": "object" }, "maxItems": 24, "type": "array" }, "examples": { "default": [], "items": { "additionalProperties": false, "properties": { "note": { "maxLength": 4000, "minLength": 1, "type": "string" }, "text": { "maxLength": 4000, "minLength": 1, "type": "string" }, "translation": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "text" ], "type": "object" }, "maxItems": 24, "type": "array" }, "expression": { "default": "", "maxLength": 4000, "type": "string" }, "language": { "maxLength": 255, "minLength": 2, "type": "string" }, "meanings": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "nuance": { "default": "", "maxLength": 4000, "type": "string" }, "pronunciation": { "default": "", "maxLength": 500, "type": "string" }, "register": { "default": "", "maxLength": 500, "type": "string" }, "translations": { "default": [], "items": { "additionalProperties": false, "properties": { "language": { "maxLength": 255, "minLength": 2, "type": "string" }, "text": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "language", "text" ], "type": "object" }, "maxItems": 24, "type": "array" }, "type": { "const": "expression", "type": "string" }, "usage_contexts": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" } }, "required": [ "type", "language" ], "type": "object" } ] }, "summary": { "maxLength": 500, "minLength": 1, "type": "string" }, "tag_ids": { "items": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "maxItems": 12, "type": "array" }, "tags": { "items": { "maxLength": 48, "minLength": 1, "type": "string" }, "maxItems": 12, "type": "array" }, "title": { "maxLength": 120, "minLength": 1, "type": "string" }, "topic": { "maxLength": 48, "minLength": 1, "type": "string" }, "topic_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "knowledge_scope", "title", "central_question", "knowledge_type", "summary", "structured_content", "bundle_schema_version", "topic", "tags" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "provenance": { "additionalProperties": false, "properties": { "client_version": { "maxLength": 160, "minLength": 1, "type": "string" }, "conversation_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "discussed_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "reported_agent": { "maxLength": 160, "minLength": 1, "type": "string" }, "reported_model": { "maxLength": 160, "minLength": 1, "type": "string" }, "source_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "type": { "const": "current_conversation", "type": "string" } }, "required": [ "type", "conversation_ref" ], "type": "object" }, "provider": { "enum": [ "chatgpt", "claude", "gemini", "other" ], "type": "string" }, "request_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "provider", "request_id", "provenance", "bundles" ], "type": "object" }, "name": "create_knowledge_bundle_drafts", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "batch_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "bundle_count": { "maximum": 50, "minimum": 0, "type": "integer" }, "created": { "type": "boolean" }, "review_flags": { "items": { "additionalProperties": false, "properties": { "client_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "code": { "enum": [ "possible_autobiographical", "possible_organization_specific", "possible_choice_rationale", "possible_task_or_meeting", "possible_project_status" ], "type": "string" }, "field": { "maxLength": 240, "type": "string" }, "match": { "maxLength": 80, "type": "string" }, "message": { "maxLength": 240, "type": "string" } }, "required": [ "client_id", "code", "field", "match", "message" ], "type": "object" }, "maxItems": 600, "type": "array" }, "review_path": { "maxLength": 512, "pattern": "^\\/.*", "type": "string" }, "review_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "status": { "const": "pending", "type": "string" } }, "required": [ "status", "batch_id", "created", "bundle_count", "review_path", "review_url", "review_flags" ], "type": "object" } }, { "description": "Return a transient preview of exactly one user-selected, independently teachable general-knowledge bundle without an account and without saving it. Call only at the person's direct request or after clear acceptance of a specific preview proposal. Use save_guest_knowledge_bundles only after the person explicitly asks to keep it; connected clients use create_knowledge_bundle_drafts.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "bundles": { "items": { "additionalProperties": false, "properties": { "bundle_schema_version": { "const": 1, "type": "number" }, "central_question": { "maxLength": 500, "minLength": 1, "type": "string" }, "client_bundle_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "evidence_selectors": { "items": { "oneOf": [ { "additionalProperties": false, "properties": { "message_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "message", "type": "string" } }, "required": [ "selector_type", "message_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "external_ref", "type": "string" }, "source_ref": { "maxLength": 2048, "minLength": 1, "type": "string" } }, "required": [ "selector_type", "source_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "end": { "maximum": 10000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "text_position", "type": "string" }, "start": { "maximum": 9999999, "minimum": 0, "type": "integer" } }, "required": [ "selector_type", "start", "end" ], "type": "object" }, { "additionalProperties": false, "properties": { "line_end": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "line_start": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "line_range", "type": "string" } }, "required": [ "selector_type", "line_start", "line_end" ], "type": "object" } ] }, "maxItems": 24, "type": "array" }, "knowledge_scope": { "const": "general_knowledge", "description": "Required assertion that this bundle teaches reusable knowledge independent of a person, company, product, preference, plan, task, or decision.", "type": "string" }, "knowledge_type": { "enum": [ "concept", "procedure", "comparison", "mechanism", "structure", "claim_evidence", "question", "event", "expression" ], "type": "string" }, "relations": { "items": { "additionalProperties": false, "properties": { "direction": { "enum": [ "outgoing", "incoming" ], "type": "string" }, "evidence_selector_indexes": { "items": { "maximum": 23, "minimum": 0, "type": "integer" }, "maxItems": 24, "type": "array" }, "target_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "target_kind": { "description": "Minimal-core drafts may relate only to the owner's private knowledge or another draft; public graph targets are unavailable.", "enum": [ "private", "draft" ], "type": "string" }, "type": { "enum": [ "related", "prerequisite", "generalizes", "derived_from", "equivalent_to", "supersedes", "answers", "supports", "contradicts", "causes", "contributes_to", "enables", "inhibits" ], "type": "string" }, "weight": { "exclusiveMinimum": 0, "maximum": 1, "type": "number" } }, "required": [ "target_kind", "target_id", "type" ], "type": "object" }, "maxItems": 12, "type": "array" }, "resolution_proposal": { "additionalProperties": false, "properties": { "action": { "enum": [ "save_new", "merge", "update" ], "type": "string" }, "change_summary": { "additionalProperties": false, "properties": { "added": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "changed": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "conflicts": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "preserved": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" } }, "type": "object" }, "expected_target_version": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "reason": { "maxLength": 1000, "minLength": 1, "type": "string" }, "source_item_ids": { "items": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "maxItems": 50, "minItems": 1, "type": "array" }, "target_item_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "action", "source_item_ids", "change_summary", "reason" ], "type": "object" }, "structured_content": { "oneOf": [ { "additionalProperties": false, "properties": { "definition": { "default": "", "maxLength": 4000, "type": "string" }, "examples": { "default": [], "description": "Concrete instances of this concept; explain why each fits. Prefer one concise example supported by the selected material when useful; otherwise use an empty array.", "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "key_points": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "misconceptions": { "default": [], "description": "Misconceptions and corrections as {claim, correction} pairs: a mistaken interpretation and its accurate replacement with a brief reason. Include only when supported by the selected material; otherwise use an empty array. Never attribute a misconception to the user or fabricate evidence.", "items": { "additionalProperties": false, "properties": { "claim": { "maxLength": 500, "minLength": 1, "type": "string" }, "correction": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "claim", "correction" ], "type": "object" }, "maxItems": 12, "type": "array" }, "non_examples": { "default": [], "description": "Nearby cases that do not meet the definition; explain the distinguishing boundary. Include only when supported by the selected material and useful; otherwise use an empty array.", "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "concept", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "branches": { "default": [], "items": { "additionalProperties": false, "properties": { "action": { "maxLength": 4000, "minLength": 1, "type": "string" }, "condition": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "condition", "action" ], "type": "object" }, "maxItems": 16, "type": "array" }, "done_when": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "failure_modes": { "default": [], "items": { "additionalProperties": false, "properties": { "response": { "maxLength": 4000, "minLength": 1, "type": "string" }, "symptom": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "symptom", "response" ], "type": "object" }, "maxItems": 16, "type": "array" }, "goal": { "default": "", "maxLength": 4000, "type": "string" }, "prerequisites": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "steps": { "default": [], "items": { "additionalProperties": false, "properties": { "detail": { "default": "", "maxLength": 4000, "type": "string" }, "title": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "maxItems": 30, "type": "array" }, "type": { "const": "procedure", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "choice_guide": { "default": [], "items": { "additionalProperties": false, "properties": { "condition": { "maxLength": 500, "minLength": 1, "type": "string" }, "recommendation": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "condition", "recommendation" ], "type": "object" }, "maxItems": 16, "type": "array" }, "commonalities": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "criteria": { "default": [], "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 500, "minLength": 1, "type": "string" }, "values": { "items": { "maxLength": 4000, "minLength": 1, "type": "string" }, "maxItems": 8, "type": "array" } }, "required": [ "name", "values" ], "type": "object" }, "maxItems": 20, "type": "array" }, "differences": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "targets": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 8, "type": "array" }, "type": { "const": "comparison", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "causes": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "conditions": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "exceptions": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "results": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "stages": { "default": [], "items": { "additionalProperties": false, "properties": { "detail": { "default": "", "maxLength": 4000, "type": "string" }, "title": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "maxItems": 30, "type": "array" }, "type": { "const": "mechanism", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "boundaries": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "components": { "default": [], "items": { "additionalProperties": false, "properties": { "id": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "label": { "maxLength": 500, "minLength": 1, "type": "string" }, "parent_id": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "role": { "default": "", "maxLength": 4000, "type": "string" } }, "required": [ "id", "label" ], "type": "object" }, "maxItems": 40, "type": "array" }, "purpose": { "default": "", "maxLength": 4000, "type": "string" }, "relations": { "default": [], "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 500, "minLength": 1, "type": "string" }, "source_id": { "maxLength": 80, "minLength": 1, "type": "string" }, "target_id": { "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "source_id", "target_id", "label" ], "type": "object" }, "maxItems": 60, "type": "array" }, "type": { "const": "structure", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "claim": { "default": "", "maxLength": 4000, "type": "string" }, "confidence": { "enum": [ "low", "medium", "high" ], "type": "string" }, "counterevidence": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "evidence": { "default": [], "items": { "additionalProperties": false, "properties": { "source": { "maxLength": 1000, "minLength": 1, "type": "string" }, "statement": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "statement" ], "type": "object" }, "maxItems": 24, "type": "array" }, "limitations": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "scope": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "claim_evidence", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "answer_summary": { "default": "", "maxLength": 4000, "type": "string" }, "context": { "default": "", "maxLength": 4000, "type": "string" }, "hypotheses": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "known_facts": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "next_steps": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "question": { "default": "", "maxLength": 4000, "type": "string" }, "status": { "default": "open", "enum": [ "open", "answered" ], "type": "string" }, "type": { "const": "question", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "context": { "default": "", "maxLength": 4000, "type": "string" }, "criteria": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "decision": { "default": "", "maxLength": 4000, "type": "string" }, "options": { "default": [], "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 500, "minLength": 1, "type": "string" }, "tradeoffs": { "default": "", "maxLength": 4000, "type": "string" } }, "required": [ "name" ], "type": "object" }, "maxItems": 24, "type": "array" }, "outcome": { "default": "", "maxLength": 4000, "type": "string" }, "rationale": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "reconsider_when": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "decision", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "causes": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "changes": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "chronology": { "additionalProperties": false, "properties": { "end": { "additionalProperties": false, "properties": { "day": { "maximum": 31, "minimum": 1, "type": "integer" }, "era": { "enum": [ "bce", "ce" ], "type": "string" }, "month": { "maximum": 12, "minimum": 1, "type": "integer" }, "year": { "maximum": 999999, "minimum": 1, "type": "integer" } }, "required": [ "year", "era" ], "type": "object" }, "precision": { "enum": [ "exact", "day", "month", "year", "decade", "century", "approximate", "range" ], "type": "string" }, "start": { "additionalProperties": false, "properties": { "day": { "maximum": 31, "minimum": 1, "type": "integer" }, "era": { "enum": [ "bce", "ce" ], "type": "string" }, "month": { "maximum": 12, "minimum": 1, "type": "integer" }, "year": { "maximum": 999999, "minimum": 1, "type": "integer" } }, "required": [ "year", "era" ], "type": "object" } }, "required": [ "start", "precision" ], "type": "object" }, "consequences": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "context": { "default": "", "maxLength": 4000, "type": "string" }, "event": { "default": "", "maxLength": 4000, "type": "string" }, "occurred_at": { "default": "", "maxLength": 500, "type": "string" }, "type": { "const": "event", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "common_mistakes": { "default": [], "items": { "additionalProperties": false, "properties": { "correction": { "maxLength": 4000, "minLength": 1, "type": "string" }, "incorrect": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "incorrect", "correction" ], "type": "object" }, "maxItems": 24, "type": "array" }, "contrasts": { "default": [], "items": { "additionalProperties": false, "properties": { "difference": { "maxLength": 4000, "minLength": 1, "type": "string" }, "expression": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "expression", "difference" ], "type": "object" }, "maxItems": 24, "type": "array" }, "examples": { "default": [], "items": { "additionalProperties": false, "properties": { "note": { "maxLength": 4000, "minLength": 1, "type": "string" }, "text": { "maxLength": 4000, "minLength": 1, "type": "string" }, "translation": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "text" ], "type": "object" }, "maxItems": 24, "type": "array" }, "expression": { "default": "", "maxLength": 4000, "type": "string" }, "language": { "maxLength": 255, "minLength": 2, "type": "string" }, "meanings": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "nuance": { "default": "", "maxLength": 4000, "type": "string" }, "pronunciation": { "default": "", "maxLength": 500, "type": "string" }, "register": { "default": "", "maxLength": 500, "type": "string" }, "translations": { "default": [], "items": { "additionalProperties": false, "properties": { "language": { "maxLength": 255, "minLength": 2, "type": "string" }, "text": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "language", "text" ], "type": "object" }, "maxItems": 24, "type": "array" }, "type": { "const": "expression", "type": "string" }, "usage_contexts": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" } }, "required": [ "type", "language" ], "type": "object" } ] }, "summary": { "maxLength": 500, "minLength": 1, "type": "string" }, "tag_ids": { "items": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "maxItems": 12, "type": "array" }, "tags": { "items": { "maxLength": 48, "minLength": 1, "type": "string" }, "maxItems": 12, "type": "array" }, "title": { "maxLength": 120, "minLength": 1, "type": "string" }, "topic": { "maxLength": 48, "minLength": 1, "type": "string" }, "topic_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "knowledge_scope", "title", "central_question", "knowledge_type", "summary", "structured_content", "bundle_schema_version", "topic", "tags" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "provenance": { "additionalProperties": false, "properties": { "client_version": { "maxLength": 160, "minLength": 1, "type": "string" }, "conversation_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "discussed_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "reported_agent": { "maxLength": 160, "minLength": 1, "type": "string" }, "reported_model": { "maxLength": 160, "minLength": 1, "type": "string" }, "source_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "type": { "const": "current_conversation", "type": "string" } }, "required": [ "type", "conversation_ref" ], "type": "object" }, "provider": { "enum": [ "chatgpt", "claude", "gemini", "other" ], "type": "string" }, "request_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "provider", "request_id", "provenance", "bundles" ], "type": "object" }, "name": "preview_knowledge_bundle", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "bundle_count": { "const": 1, "type": "number" }, "knowledge_type": { "enum": [ "concept", "procedure", "comparison", "mechanism", "structure", "claim_evidence", "question", "event", "expression" ], "type": "string" }, "persisted": { "const": false, "type": "boolean" }, "review_flags": { "items": { "additionalProperties": false, "properties": { "client_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "code": { "enum": [ "possible_autobiographical", "possible_organization_specific", "possible_choice_rationale", "possible_task_or_meeting", "possible_project_status" ], "type": "string" }, "field": { "maxLength": 240, "type": "string" }, "match": { "maxLength": 80, "type": "string" }, "message": { "maxLength": 240, "type": "string" } }, "required": [ "client_id", "code", "field", "match", "message" ], "type": "object" }, "maxItems": 600, "type": "array" }, "status": { "enum": [ "valid", "preview" ], "type": "string" }, "title": { "maxLength": 120, "minLength": 1, "type": "string" } }, "required": [ "status", "persisted", "bundle_count", "knowledge_type", "title", "review_flags" ], "type": "object" } }, { "description": "Issue a new short-lived, one-time mobile or desktop web link for the existing guest shelf. Use only when the person asks to open or recover that shelf. Pass the private workspace_token as a tool argument; never show or put it in a URL. This adds no card and makes the previous view link invalid.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "workspace_token": { "pattern": "^mgw_[A-Za-z0-9_-]{43}$", "type": "string" } }, "required": [ "workspace_token" ], "type": "object" }, "name": "refresh_guest_knowledge_shelf_link", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "card_count": { "maximum": 10, "minimum": 1, "type": "integer" }, "card_limit": { "const": 10, "type": "number" }, "expires_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "review_url": { "format": "uri", "type": "string" }, "status": { "enum": [ "guest_pending", "account_required" ], "type": "string" } }, "required": [ "status", "card_count", "card_limit", "review_url", "expires_at" ], "type": "object" } }, { "description": "Store one to 10 specifically selected, independently teachable general-knowledge bundles from the current conversation in a private temporary MemoStem guest shelf. Call only after a direct request or clear acceptance of a specific proposal. Reuse workspace_token to continue the same shelf, but never reveal that credential to the person. The shelf is read-only in MemoStem, expires after 90 days, and requires account connection at 10 cards.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "bundles": { "items": {}, "maxItems": 10, "minItems": 1, "type": "array" }, "provenance": { "additionalProperties": false, "properties": { "conversation_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "discussed_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "source_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "type": { "const": "current_conversation", "type": "string" } }, "required": [ "type", "conversation_ref" ], "type": "object" }, "provider": { "enum": [ "chatgpt", "claude", "gemini", "other" ], "type": "string" }, "request_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "workspace_token": { "pattern": "^mgw_[A-Za-z0-9_-]{43}$", "type": "string" } }, "required": [ "provider", "request_id", "provenance", "bundles" ], "type": "object" }, "name": "save_guest_knowledge_bundles", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "accepted_bundle_count": { "maximum": 10, "minimum": 0, "type": "integer" }, "account_required": { "type": "boolean" }, "card_count": { "maximum": 10, "minimum": 0, "type": "integer" }, "card_limit": { "const": 10, "type": "number" }, "expires_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "persisted": { "const": true, "type": "boolean" }, "remaining_capacity": { "maximum": 10, "minimum": 0, "type": "integer" }, "review_flags": { "items": { "additionalProperties": false, "properties": { "client_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "code": { "enum": [ "possible_autobiographical", "possible_organization_specific", "possible_choice_rationale", "possible_task_or_meeting", "possible_project_status" ], "type": "string" }, "field": { "maxLength": 240, "type": "string" }, "match": { "maxLength": 80, "type": "string" }, "message": { "maxLength": 240, "type": "string" } }, "required": [ "client_id", "code", "field", "match", "message" ], "type": "object" }, "maxItems": 600, "type": "array" }, "review_url": { "format": "uri", "type": "string" }, "status": { "enum": [ "guest_pending", "account_required" ], "type": "string" }, "workspace_token": { "pattern": "^mgw_[A-Za-z0-9_-]{43}$", "type": "string" } }, "required": [ "status", "persisted", "workspace_token", "accepted_bundle_count", "card_count", "remaining_capacity", "card_limit", "account_required", "review_url", "expires_at" ], "type": "object" } }, { "description": "Start MemoStem when no topic is named. Show a localized welcome App before login, or the connected owner's topic labels and empty-state guidance. Pass the conversation language as locale when known. No drafts are created.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "cursor": { "anyOf": [ { "maxLength": 512, "minLength": 1, "type": "string" }, { "type": "null" } ] }, "locale": { "maxLength": 64, "type": "string" } }, "type": "object" }, "name": "start_memostem", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "locale": { "enum": [ "ko", "en" ], "type": "string" }, "next_cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ] }, "status": { "enum": [ "connection_required", "permission_required", "topics", "empty" ], "type": "string" }, "topics": { "items": { "additionalProperties": false, "properties": { "id": { "type": "string" }, "name": { "type": "string" } }, "required": [ "id", "name" ], "type": "object" }, "maxItems": 20, "type": "array" } }, "required": [ "status", "locale", "topics", "next_cursor" ], "type": "object" } }, { "description": "Validate exactly one user-selected, independently teachable general-knowledge bundle without an account and without saving it. Call only at the person's direct request or after clear acceptance of a specific preview proposal. The strict input rejects transcripts, conversation histories, and unsupported knowledge types; phrases that may be personal or organization-specific are returned as review_flags.", "inputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "bundles": { "items": { "additionalProperties": false, "properties": { "bundle_schema_version": { "const": 1, "type": "number" }, "central_question": { "maxLength": 500, "minLength": 1, "type": "string" }, "client_bundle_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "evidence_selectors": { "items": { "oneOf": [ { "additionalProperties": false, "properties": { "message_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "message", "type": "string" } }, "required": [ "selector_type", "message_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "external_ref", "type": "string" }, "source_ref": { "maxLength": 2048, "minLength": 1, "type": "string" } }, "required": [ "selector_type", "source_ref" ], "type": "object" }, { "additionalProperties": false, "properties": { "end": { "maximum": 10000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "text_position", "type": "string" }, "start": { "maximum": 9999999, "minimum": 0, "type": "integer" } }, "required": [ "selector_type", "start", "end" ], "type": "object" }, { "additionalProperties": false, "properties": { "line_end": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "line_start": { "maximum": 1000000, "minimum": 1, "type": "integer" }, "polarity": { "default": "supports", "enum": [ "supports", "contradicts" ], "type": "string" }, "quality": { "default": "unknown", "enum": [ "unknown", "low", "medium", "high" ], "type": "string" }, "relation_origin": { "default": "model_inferred", "enum": [ "explicit_user", "extracted_from_source", "model_inferred" ], "type": "string" }, "selector_type": { "const": "line_range", "type": "string" } }, "required": [ "selector_type", "line_start", "line_end" ], "type": "object" } ] }, "maxItems": 24, "type": "array" }, "knowledge_scope": { "const": "general_knowledge", "description": "Required assertion that this bundle teaches reusable knowledge independent of a person, company, product, preference, plan, task, or decision.", "type": "string" }, "knowledge_type": { "enum": [ "concept", "procedure", "comparison", "mechanism", "structure", "claim_evidence", "question", "event", "expression" ], "type": "string" }, "relations": { "items": { "additionalProperties": false, "properties": { "direction": { "enum": [ "outgoing", "incoming" ], "type": "string" }, "evidence_selector_indexes": { "items": { "maximum": 23, "minimum": 0, "type": "integer" }, "maxItems": 24, "type": "array" }, "target_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "target_kind": { "description": "Minimal-core drafts may relate only to the owner's private knowledge or another draft; public graph targets are unavailable.", "enum": [ "private", "draft" ], "type": "string" }, "type": { "enum": [ "related", "prerequisite", "generalizes", "derived_from", "equivalent_to", "supersedes", "answers", "supports", "contradicts", "causes", "contributes_to", "enables", "inhibits" ], "type": "string" }, "weight": { "exclusiveMinimum": 0, "maximum": 1, "type": "number" } }, "required": [ "target_kind", "target_id", "type" ], "type": "object" }, "maxItems": 12, "type": "array" }, "resolution_proposal": { "additionalProperties": false, "properties": { "action": { "enum": [ "save_new", "merge", "update" ], "type": "string" }, "change_summary": { "additionalProperties": false, "properties": { "added": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "changed": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "conflicts": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" }, "preserved": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 50, "type": "array" } }, "type": "object" }, "expected_target_version": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" }, "reason": { "maxLength": 1000, "minLength": 1, "type": "string" }, "source_item_ids": { "items": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "maxItems": 50, "minItems": 1, "type": "array" }, "target_item_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "action", "source_item_ids", "change_summary", "reason" ], "type": "object" }, "structured_content": { "oneOf": [ { "additionalProperties": false, "properties": { "definition": { "default": "", "maxLength": 4000, "type": "string" }, "examples": { "default": [], "description": "Concrete instances of this concept; explain why each fits. Prefer one concise example supported by the selected material when useful; otherwise use an empty array.", "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "key_points": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "misconceptions": { "default": [], "description": "Misconceptions and corrections as {claim, correction} pairs: a mistaken interpretation and its accurate replacement with a brief reason. Include only when supported by the selected material; otherwise use an empty array. Never attribute a misconception to the user or fabricate evidence.", "items": { "additionalProperties": false, "properties": { "claim": { "maxLength": 500, "minLength": 1, "type": "string" }, "correction": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "claim", "correction" ], "type": "object" }, "maxItems": 12, "type": "array" }, "non_examples": { "default": [], "description": "Nearby cases that do not meet the definition; explain the distinguishing boundary. Include only when supported by the selected material and useful; otherwise use an empty array.", "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "concept", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "branches": { "default": [], "items": { "additionalProperties": false, "properties": { "action": { "maxLength": 4000, "minLength": 1, "type": "string" }, "condition": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "condition", "action" ], "type": "object" }, "maxItems": 16, "type": "array" }, "done_when": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "failure_modes": { "default": [], "items": { "additionalProperties": false, "properties": { "response": { "maxLength": 4000, "minLength": 1, "type": "string" }, "symptom": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "symptom", "response" ], "type": "object" }, "maxItems": 16, "type": "array" }, "goal": { "default": "", "maxLength": 4000, "type": "string" }, "prerequisites": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "steps": { "default": [], "items": { "additionalProperties": false, "properties": { "detail": { "default": "", "maxLength": 4000, "type": "string" }, "title": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "maxItems": 30, "type": "array" }, "type": { "const": "procedure", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "choice_guide": { "default": [], "items": { "additionalProperties": false, "properties": { "condition": { "maxLength": 500, "minLength": 1, "type": "string" }, "recommendation": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "condition", "recommendation" ], "type": "object" }, "maxItems": 16, "type": "array" }, "commonalities": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "criteria": { "default": [], "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 500, "minLength": 1, "type": "string" }, "values": { "items": { "maxLength": 4000, "minLength": 1, "type": "string" }, "maxItems": 8, "type": "array" } }, "required": [ "name", "values" ], "type": "object" }, "maxItems": 20, "type": "array" }, "differences": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "targets": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 8, "type": "array" }, "type": { "const": "comparison", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "causes": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "conditions": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "exceptions": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "results": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "stages": { "default": [], "items": { "additionalProperties": false, "properties": { "detail": { "default": "", "maxLength": 4000, "type": "string" }, "title": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "title" ], "type": "object" }, "maxItems": 30, "type": "array" }, "type": { "const": "mechanism", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "boundaries": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "components": { "default": [], "items": { "additionalProperties": false, "properties": { "id": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "label": { "maxLength": 500, "minLength": 1, "type": "string" }, "parent_id": { "maxLength": 80, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "role": { "default": "", "maxLength": 4000, "type": "string" } }, "required": [ "id", "label" ], "type": "object" }, "maxItems": 40, "type": "array" }, "purpose": { "default": "", "maxLength": 4000, "type": "string" }, "relations": { "default": [], "items": { "additionalProperties": false, "properties": { "label": { "maxLength": 500, "minLength": 1, "type": "string" }, "source_id": { "maxLength": 80, "minLength": 1, "type": "string" }, "target_id": { "maxLength": 80, "minLength": 1, "type": "string" } }, "required": [ "source_id", "target_id", "label" ], "type": "object" }, "maxItems": 60, "type": "array" }, "type": { "const": "structure", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "claim": { "default": "", "maxLength": 4000, "type": "string" }, "confidence": { "enum": [ "low", "medium", "high" ], "type": "string" }, "counterevidence": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "evidence": { "default": [], "items": { "additionalProperties": false, "properties": { "source": { "maxLength": 1000, "minLength": 1, "type": "string" }, "statement": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "statement" ], "type": "object" }, "maxItems": 24, "type": "array" }, "limitations": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "scope": { "default": [], "items": { "maxLength": 500, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "claim_evidence", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "answer_summary": { "default": "", "maxLength": 4000, "type": "string" }, "context": { "default": "", "maxLength": 4000, "type": "string" }, "hypotheses": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "known_facts": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "next_steps": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "question": { "default": "", "maxLength": 4000, "type": "string" }, "status": { "default": "open", "enum": [ "open", "answered" ], "type": "string" }, "type": { "const": "question", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "context": { "default": "", "maxLength": 4000, "type": "string" }, "criteria": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "decision": { "default": "", "maxLength": 4000, "type": "string" }, "options": { "default": [], "items": { "additionalProperties": false, "properties": { "name": { "maxLength": 500, "minLength": 1, "type": "string" }, "tradeoffs": { "default": "", "maxLength": 4000, "type": "string" } }, "required": [ "name" ], "type": "object" }, "maxItems": 24, "type": "array" }, "outcome": { "default": "", "maxLength": 4000, "type": "string" }, "rationale": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "reconsider_when": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "type": { "const": "decision", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "causes": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "changes": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "chronology": { "additionalProperties": false, "properties": { "end": { "additionalProperties": false, "properties": { "day": { "maximum": 31, "minimum": 1, "type": "integer" }, "era": { "enum": [ "bce", "ce" ], "type": "string" }, "month": { "maximum": 12, "minimum": 1, "type": "integer" }, "year": { "maximum": 999999, "minimum": 1, "type": "integer" } }, "required": [ "year", "era" ], "type": "object" }, "precision": { "enum": [ "exact", "day", "month", "year", "decade", "century", "approximate", "range" ], "type": "string" }, "start": { "additionalProperties": false, "properties": { "day": { "maximum": 31, "minimum": 1, "type": "integer" }, "era": { "enum": [ "bce", "ce" ], "type": "string" }, "month": { "maximum": 12, "minimum": 1, "type": "integer" }, "year": { "maximum": 999999, "minimum": 1, "type": "integer" } }, "required": [ "year", "era" ], "type": "object" } }, "required": [ "start", "precision" ], "type": "object" }, "consequences": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "context": { "default": "", "maxLength": 4000, "type": "string" }, "event": { "default": "", "maxLength": 4000, "type": "string" }, "occurred_at": { "default": "", "maxLength": 500, "type": "string" }, "type": { "const": "event", "type": "string" } }, "required": [ "type" ], "type": "object" }, { "additionalProperties": false, "properties": { "common_mistakes": { "default": [], "items": { "additionalProperties": false, "properties": { "correction": { "maxLength": 4000, "minLength": 1, "type": "string" }, "incorrect": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "incorrect", "correction" ], "type": "object" }, "maxItems": 24, "type": "array" }, "contrasts": { "default": [], "items": { "additionalProperties": false, "properties": { "difference": { "maxLength": 4000, "minLength": 1, "type": "string" }, "expression": { "maxLength": 500, "minLength": 1, "type": "string" } }, "required": [ "expression", "difference" ], "type": "object" }, "maxItems": 24, "type": "array" }, "examples": { "default": [], "items": { "additionalProperties": false, "properties": { "note": { "maxLength": 4000, "minLength": 1, "type": "string" }, "text": { "maxLength": 4000, "minLength": 1, "type": "string" }, "translation": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "text" ], "type": "object" }, "maxItems": 24, "type": "array" }, "expression": { "default": "", "maxLength": 4000, "type": "string" }, "language": { "maxLength": 255, "minLength": 2, "type": "string" }, "meanings": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" }, "nuance": { "default": "", "maxLength": 4000, "type": "string" }, "pronunciation": { "default": "", "maxLength": 500, "type": "string" }, "register": { "default": "", "maxLength": 500, "type": "string" }, "translations": { "default": [], "items": { "additionalProperties": false, "properties": { "language": { "maxLength": 255, "minLength": 2, "type": "string" }, "text": { "maxLength": 4000, "minLength": 1, "type": "string" } }, "required": [ "language", "text" ], "type": "object" }, "maxItems": 24, "type": "array" }, "type": { "const": "expression", "type": "string" }, "usage_contexts": { "default": [], "items": { "maxLength": 6000, "minLength": 1, "type": "string" }, "maxItems": 24, "type": "array" } }, "required": [ "type", "language" ], "type": "object" } ] }, "summary": { "maxLength": 500, "minLength": 1, "type": "string" }, "tag_ids": { "items": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "maxItems": 12, "type": "array" }, "tags": { "items": { "maxLength": 48, "minLength": 1, "type": "string" }, "maxItems": 12, "type": "array" }, "title": { "maxLength": 120, "minLength": 1, "type": "string" }, "topic": { "maxLength": 48, "minLength": 1, "type": "string" }, "topic_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "knowledge_scope", "title", "central_question", "knowledge_type", "summary", "structured_content", "bundle_schema_version", "topic", "tags" ], "type": "object" }, "maxItems": 50, "minItems": 1, "type": "array" }, "provenance": { "additionalProperties": false, "properties": { "client_version": { "maxLength": 160, "minLength": 1, "type": "string" }, "conversation_ref": { "maxLength": 240, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" }, "discussed_at": { "format": "date-time", "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$", "type": "string" }, "reported_agent": { "maxLength": 160, "minLength": 1, "type": "string" }, "reported_model": { "maxLength": 160, "minLength": 1, "type": "string" }, "source_url": { "format": "uri", "maxLength": 2048, "type": "string" }, "type": { "const": "current_conversation", "type": "string" } }, "required": [ "type", "conversation_ref" ], "type": "object" }, "provider": { "enum": [ "chatgpt", "claude", "gemini", "other" ], "type": "string" }, "request_id": { "maxLength": 160, "minLength": 1, "pattern": "^[A-Za-z0-9._:-]+$", "type": "string" } }, "required": [ "provider", "request_id", "provenance", "bundles" ], "type": "object" }, "name": "validate_knowledge_bundle", "outputSchema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "properties": { "bundle_count": { "const": 1, "type": "number" }, "knowledge_type": { "enum": [ "concept", "procedure", "comparison", "mechanism", "structure", "claim_evidence", "question", "event", "expression" ], "type": "string" }, "persisted": { "const": false, "type": "boolean" }, "review_flags": { "items": { "additionalProperties": false, "properties": { "client_id": { "maxLength": 160, "minLength": 1, "type": "string" }, "code": { "enum": [ "possible_autobiographical", "possible_organization_specific", "possible_choice_rationale", "possible_task_or_meeting", "possible_project_status" ], "type": "string" }, "field": { "maxLength": 240, "type": "string" }, "match": { "maxLength": 80, "type": "string" }, "message": { "maxLength": 240, "type": "string" } }, "required": [ "client_id", "code", "field", "match", "message" ], "type": "object" }, "maxItems": 600, "type": "array" }, "status": { "enum": [ "valid", "preview" ], "type": "string" }, "title": { "maxLength": 120, "minLength": 1, "type": "string" } }, "required": [ "status", "persisted", "bundle_count", "knowledge_type", "title", "review_flags" ], "type": "object" } } ] }
Verify it yourselfcurl -s https://api.teppi.xyz/v1/evidence/sha256:f8e49bf338067813a36a0f9904aa062624dc0284fd11e72c5ce637cb81d5d528 | sha256sum