{"openapi":"3.1.0","info":{"title":"Intenttest2 Public Agent API","version":"1.0.0","description":"Tenant identity is derived from this document's host."},"servers":[{"url":"https://www.memorar.app"}],"paths":{"/ask":{"post":{"operationId":"ask","summary":"Ask Intenttest2","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"properties":{"question":{"type":"string","maxLength":100,"description":"A natural-language question about Intenttest2."},"thread_id":{"type":"string","description":"A thread_id returned by a previous answer on this tenant."}},"required":["question"]}}}},"responses":{"200":{"description":"Governed answer, optionally streamed as SSE."},"400":{"description":"Invalid public request."},"404":{"description":"Tenant or thread not found for this host."}}}},"/mcp":{"post":{"operationId":"mcp","summary":"Intenttest2 MCP Streamable HTTP endpoint","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"A JSON-RPC 2.0 MCP initialize, tools/list, or tools/call request.","additionalProperties":false,"properties":{"jsonrpc":{"type":"string","const":"2.0"},"id":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"null"}]},"method":{"type":"string","enum":["initialize","tools/list","tools/call"]},"params":{"type":"object","additionalProperties":false,"properties":{"protocolVersion":{"type":"string"},"capabilities":{"type":"object"},"clientInfo":{"type":"object"},"cursor":{"type":"string"},"name":{"type":"string","enum":["ask","list_intents"]},"arguments":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"question":{"type":"string","maxLength":100,"description":"A natural-language question about Intenttest2."},"thread_id":{"type":"string","description":"A thread_id returned by a previous answer on this tenant."}},"required":["question"]},{"type":"object","additionalProperties":false,"properties":{}}]}}}},"required":["jsonrpc","method"]}}}},"responses":{"200":{"description":"MCP JSON-RPC response."},"400":{"description":"Invalid MCP request."},"404":{"description":"Tenant not found for this host."}}}}}}