Letta · Schema
ConversationMessageRequest
Request for sending messages to a conversation. Streams by default.
Artificial IntelligenceAgentsStateful AgentsMemoryMemGPTContinual LearningMCPMulti-AgentRAGOpen SourceReal-Time
Properties
| Name | Type | Description |
|---|---|---|
| messages | object | The messages to be sent to the agent. |
| input | object | Syntactic sugar for a single user message. Equivalent to messages=[{'role': 'user', 'content': input}]. |
| max_steps | integer | Maximum number of steps the agent should take to process the request. |
| use_assistant_message | boolean | Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward. |
| assistant_message_tool_name | string | The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward. |
| assistant_message_tool_kwarg | string | The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward. |
| include_return_message_types | object | Only return specified message types in the response. If `None` (default) returns all messages. |
| enable_thinking | string | If set to True, enables reasoning before responses or tool calls from the agent. |
| client_tools | object | Client-side tools that the agent can call. When the agent calls a client-side tool, execution pauses and returns control to the client to execute the tool and provide the result via a ToolReturn. |
| client_skills | object | Client-side skills available in the environment. These are rendered in the system prompt's available skills section alongside agent-scoped skills from MemFS. |
| override_model | object | Model handle to use for this request instead of the agent's default model. This allows sending a message to a different model without changing the agent's configuration. |
| include_compaction_messages | boolean | If True, compaction events emit structured `SummaryMessage` and `EventMessage` types. If False (default), compaction messages are not included in the response. |
| return_logprobs | boolean | If True, returns log probabilities of the output tokens in the response. Useful for RL training. Only supported for OpenAI-compatible providers (including SGLang). |
| top_logprobs | object | Number of most likely tokens to return at each position (0-20). Requires return_logprobs=True. |
| return_token_ids | boolean | If True, returns token IDs and logprobs for ALL LLM generations in the agent step, not just the last one. Uses SGLang native /generate endpoint. Returns 'turns' field with TurnTokenData for each assis |
| override_system | object | Optional per-request system prompt override. When set, this is passed directly to the underlying LLM request and bypasses the persisted/compiled system message for that request. |
| agent_id | object | Agent ID for agent-direct mode with 'default' conversation. Use with conversation_id='default' in the URL path. |
| streaming | boolean | If True (default), returns a streaming response (Server-Sent Events). If False, returns a complete JSON response. |
| stream_tokens | boolean | Flag to determine if individual tokens should be streamed, rather than streaming per step (only used when streaming=true). |
| include_pings | boolean | Whether to include periodic keepalive ping messages in the stream to prevent connection timeouts (only used when streaming=true). |
| background | boolean | Whether to process the request in the background (only used when streaming=true). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/letta/json-schema/letta-conversation-message-request-schema.json",
"title": "ConversationMessageRequest",
"description": "Request for sending messages to a conversation. Streams by default.",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/letta-conversations-api-openapi.yml#/components/schemas/ConversationMessageRequest",
"properties": {
"messages": {
"anyOf": [
{
"items": {
"anyOf": [
{
"$ref": "#/$defs/MessageCreate"
},
{
"$ref": "#/$defs/ApprovalCreate"
},
{
"$ref": "#/$defs/ToolReturnCreate"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Messages",
"description": "The messages to be sent to the agent."
},
"input": {
"anyOf": [
{
"type": "string"
},
{
"items": {
"oneOf": [
{
"$ref": "#/$defs/TextContent"
},
{
"$ref": "#/$defs/ImageContent"
},
{
"$ref": "#/$defs/ToolCallContent"
},
{
"$ref": "#/$defs/ToolReturnContent"
},
{
"$ref": "#/$defs/ReasoningContent"
},
{
"$ref": "#/$defs/RedactedReasoningContent"
},
{
"$ref": "#/$defs/OmittedReasoningContent"
},
{
"$ref": "#/$defs/SummarizedReasoningContent"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Input",
"description": "Syntactic sugar for a single user message. Equivalent to messages=[{'role': 'user', 'content': input}]."
},
"max_steps": {
"type": "integer",
"title": "Max Steps",
"description": "Maximum number of steps the agent should take to process the request.",
"default": 50
},
"use_assistant_message": {
"type": "boolean",
"title": "Use Assistant Message",
"description": "Whether the server should parse specific tool call arguments (default `send_message`) as `AssistantMessage` objects. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.",
"default": true,
"deprecated": true
},
"assistant_message_tool_name": {
"type": "string",
"title": "Assistant Message Tool Name",
"description": "The name of the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.",
"default": "send_message",
"deprecated": true
},
"assistant_message_tool_kwarg": {
"type": "string",
"title": "Assistant Message Tool Kwarg",
"description": "The name of the message argument in the designated message tool. Still supported for legacy agent types, but deprecated for letta_v1_agent onward.",
"default": "message",
"deprecated": true
},
"include_return_message_types": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/MessageType"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Include Return Message Types",
"description": "Only return specified message types in the response. If `None` (default) returns all messages."
},
"enable_thinking": {
"type": "string",
"title": "Enable Thinking",
"description": "If set to True, enables reasoning before responses or tool calls from the agent.",
"default": true,
"deprecated": true
},
"client_tools": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ClientToolSchema"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Client Tools",
"description": "Client-side tools that the agent can call. When the agent calls a client-side tool, execution pauses and returns control to the client to execute the tool and provide the result via a ToolReturn."
},
"client_skills": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ClientSkillSchema"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Client Skills",
"description": "Client-side skills available in the environment. These are rendered in the system prompt's available skills section alongside agent-scoped skills from MemFS."
},
"override_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Override Model",
"description": "Model handle to use for this request instead of the agent's default model. This allows sending a message to a different model without changing the agent's configuration."
},
"include_compaction_messages": {
"type": "boolean",
"title": "Include Compaction Messages",
"description": "If True, compaction events emit structured `SummaryMessage` and `EventMessage` types. If False (default), compaction messages are not included in the response.",
"default": false
},
"return_logprobs": {
"type": "boolean",
"title": "Return Logprobs",
"description": "If True, returns log probabilities of the output tokens in the response. Useful for RL training. Only supported for OpenAI-compatible providers (including SGLang).",
"default": false
},
"top_logprobs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Top Logprobs",
"description": "Number of most likely tokens to return at each position (0-20). Requires return_logprobs=True."
},
"return_token_ids": {
"type": "boolean",
"title": "Return Token Ids",
"description": "If True, returns token IDs and logprobs for ALL LLM generations in the agent step, not just the last one. Uses SGLang native /generate endpoint. Returns 'turns' field with TurnTokenData for each assistant/tool turn. Required for proper multi-turn RL training with loss masking.",
"default": false
},
"override_system": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Override System",
"description": "Optional per-request system prompt override. When set, this is passed directly to the underlying LLM request and bypasses the persisted/compiled system message for that request."
},
"agent_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Agent Id",
"description": "Agent ID for agent-direct mode with 'default' conversation. Use with conversation_id='default' in the URL path."
},
"streaming": {
"type": "boolean",
"title": "Streaming",
"description": "If True (default), returns a streaming response (Server-Sent Events). If False, returns a complete JSON response.",
"default": true
},
"stream_tokens": {
"type": "boolean",
"title": "Stream Tokens",
"description": "Flag to determine if individual tokens should be streamed, rather than streaming per step (only used when streaming=true).",
"default": false
},
"include_pings": {
"type": "boolean",
"title": "Include Pings",
"description": "Whether to include periodic keepalive ping messages in the stream to prevent connection timeouts (only used when streaming=true).",
"default": true
},
"background": {
"type": "boolean",
"title": "Background",
"description": "Whether to process the request in the background (only used when streaming=true).",
"default": false
}
},
"type": "object",
"$defs": {
"ApprovalCreate": {
"properties": {
"type": {
"type": "string",
"const": "approval",
"title": "Type",
"description": "The message type to be created.",
"default": "approval"
},
"otid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Otid",
"description": "The offline threading id (OTID). Set by the client to deduplicate requests. Used for idempotency in background streaming mode — each message in a request must have a unique OTID. Retries of the same request should reuse the same OTIDs."
},
"group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Group Id",
"description": "The multi-agent group that the message was sent in"
},
"approvals": {
"anyOf": [
{
"items": {
"oneOf": [
{
"$ref": "#/$defs/ApprovalReturn"
},
{
"$ref": "#/$defs/letta__schemas__letta_message__ToolReturn"
}
]
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Approvals",
"description": "The list of approval responses"
},
"approve": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Approve",
"description": "Whether the tool has been approved",
"deprecated": true
},
"approval_request_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Approval Request Id",
"description": "The message ID of the approval request",
"deprecated": true
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason",
"description": "An optional explanation for the provided approval status",
"deprecated": true
}
},
"type": "object",
"title": "ApprovalCreate",
"description": "Input to approve or deny a tool call request"
},
"ApprovalReturn": {
"properties": {
"type": {
"type": "string",
"const": "approval",
"title": "Type",
"description": "The message type to be created.",
"default": "approval"
},
"tool_call_id": {
"type": "string",
"title": "Tool Call Id",
"description": "The ID of the tool call that corresponds to this approval"
},
"approve": {
"type": "boolean",
"title": "Approve",
"description": "Whether the tool has been approved"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason",
"description": "An optional explanation for the provided approval status"
}
},
"type": "object",
"required": [
"tool_call_id",
"approve"
],
"title": "ApprovalReturn"
},
"Base64Image": {
"properties": {
"type": {
"type": "string",
"const": "base64",
"title": "Type",
"description": "The source type for the image.",
"default": "base64"
},
"media_type": {
"type": "string",
"title": "Media Type",
"description": "The media type for the image."
},
"data": {
"type": "string",
"title": "Data",
"description": "The base64 encoded image data."
},
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Detail",
"description": "What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide)"
}
},
"type": "object",
"required": [
"media_type",
"data"
],
"title": "Base64Image"
},
"ClientSkillSchema": {
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "The name of the skill"
},
"description": {
"type": "string",
"title": "Description",
"description": "Description of what the skill does"
},
"location": {
"type": "string",
"title": "Location",
"description": "Path or location hint for the skill (e.g. skills/my-skill/SKILL.md)"
}
},
"type": "object",
"required": [
"name",
"description",
"location"
],
"title": "ClientSkillSchema",
"description": "Schema for a client-side skill passed in the request.\n\nClient-side skills represent environment-provided capabilities (e.g. project-scoped\nskills) that are not stored in the agent's MemFS but should appear in the system\nprompt's available skills section."
},
"ClientToolSchema": {
"properties": {
"name": {
"type": "string",
"title": "Name",
"description": "The name of the tool function"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description",
"description": "Description of what the tool does"
},
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Parameters",
"description": "JSON Schema for the function parameters"
}
},
"type": "object",
"required": [
"name"
],
"title": "ClientToolSchema",
"description": "Schema for a client-side tool passed in the request.\n\nClient-side tools are executed by the client, not the server. When the agent\ncalls a client-side tool, execution pauses and returns control to the client\nto execute the tool and provide the result."
},
"ImageContent": {
"properties": {
"type": {
"type": "string",
"const": "image",
"title": "Type",
"description": "The type of the message.",
"default": "image"
},
"source": {
"oneOf": [
{
"$ref": "#/$defs/UrlImage"
},
{
"$ref": "#/$defs/Base64Image"
},
{
"$ref": "#/$defs/LettaImage"
}
],
"title": "Source",
"description": "The source of the image."
}
},
"type": "object",
"required": [
"source"
],
"title": "ImageContent"
},
"LettaImage": {
"properties": {
"type": {
"type": "string",
"const": "letta",
"title": "Type",
"description": "The source type for the image.",
"default": "letta"
},
"file_id": {
"type": "string",
"title": "File Id",
"description": "The unique identifier of the image file persisted in storage."
},
"media_type": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Media Type",
"description": "The media type for the image."
},
"data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data",
"description": "The base64 encoded image data."
},
"detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Detail",
"description": "What level of detail to use when processing and understanding the image (low, high, or auto to let the model decide)"
}
},
"type": "object",
"required": [
"file_id"
],
"title": "LettaImage"
},
"LettaMessageContentUnion": {
"oneOf": [
{
"$ref": "#/$defs/TextContent"
},
{
"$ref": "#/$defs/ImageContent"
},
{
"$ref": "#/$defs/ToolCallContent"
},
{
"$ref": "#/$defs/ToolReturnContent"
},
{
"$ref": "#/$defs/ReasoningContent"
},
{
"$ref": "#/$defs/RedactedReasoningContent"
},
{
"$ref": "#/$defs/OmittedReasoningContent"
}
]
},
"LettaToolReturnContentUnion": {
"oneOf": [
{
"$ref": "#/$defs/TextContent"
},
{
"$ref": "#/$defs/ImageContent"
}
]
},
"MessageCreate": {
"properties": {
"type": {
"anyOf": [
{
"type": "string",
"const": "message"
},
{
"type": "null"
}
],
"title": "Type",
"description": "The message type to be created.",
"default": "message"
},
"otid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Otid",
"description": "The offline threading id (OTID). Set by the client to deduplicate requests. Used for idempotency in background streaming mode — each message in a request must have a unique OTID. Retries of the same request should reuse the same OTIDs."
},
"group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Group Id",
"description": "The multi-agent group that the message was sent in"
},
"role": {
"type": "string",
"enum": [
"user",
"system",
"assistant"
],
"title": "Role",
"description": "The role of the participant."
},
"content": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/LettaMessageContentUnion"
},
"type": "array"
},
{
"type": "string"
}
],
"title": "Content",
"description": "The content of the message."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name",
"description": "The name of the participant."
},
"sender_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Sender Id",
"description": "The id of the sender of the message, can be an identity id or agent id"
},
"batch_item_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Batch Item Id",
"description": "The id of the LLMBatchItem that this message is associated with"
}
},
"type": "object",
"required": [
"role",
"content"
],
"title": "MessageCreate",
"description": "Request to create a message"
},
"MessageType": {
"type": "string",
"enum": [
"system_message",
"user_message",
"assistant_message",
"reasoning_message",
"hidden_reasoning_message",
"tool_call_message",
"tool_return_message",
"approval_request_message",
"approval_response_message",
"summary_message",
"event_message"
],
"title": "MessageType"
},
"OmittedReasoningContent": {
"properties": {
"type": {
"type": "string",
"const": "omitted_reasoning",
"title": "Type",
"description": "Indicates this is an omitted reasoning step.",
"default": "omitted_reasoning"
},
"signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Signature",
"description": "A unique identifier for this reasoning step."
}
},
"type": "object",
"title": "OmittedReasoningContent",
"description": "A placeholder for reasoning content we know is present, but isn't returned by the provider (e.g. OpenAI GPT-5 on ChatCompletions)"
},
"ReasoningContent": {
"properties": {
"type": {
"type": "string",
"const": "reasoning",
"title": "Type",
"description": "Indicates this is a reasoning/intermediate step.",
"default": "reasoning"
},
"is_native": {
"type": "boolean",
"title": "Is Native",
"description": "Whether the reasoning content was generated by a reasoner model that processed this step."
},
"reasoning": {
"type": "string",
"title": "Reasoning",
"description": "The intermediate reasoning or thought process content."
},
"signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Signature",
"description": "A unique identifier for this reasoning step."
}
},
"type": "object",
"required": [
"is_native",
"reasoning"
],
"title": "ReasoningContent",
"description": "Sent via the Anthropic Messages API"
},
"RedactedReasoningContent": {
"properties": {
"type": {
"type": "string",
"const": "redacted_reasoning",
"title": "Type",
"description": "Indicates this is a redacted thinking step.",
"default": "redacted_reasoning"
},
"data": {
"type": "string",
"title": "Data",
"description": "The redacted or filtered intermediate reasoning content."
}
},
"type": "object",
"required": [
"data"
],
"title": "RedactedReasoningContent",
"description": "Sent via the Anthropic Messages API"
},
"SummarizedReasoningContent": {
"properties": {
"type": {
"type": "string",
"const": "summarized_reasoning",
"title": "Type",
"description": "Indicates this is a summarized reasoning step.",
"default": "summarized_reasoning"
},
"id": {
"type": "string",
"title": "Id",
"description": "The unique identifier for this reasoning step."
},
"summary": {
"items": {
"$ref": "#/$defs/SummarizedReasoningContentPart"
},
"type": "array",
"title": "Summary",
"description": "Summaries of the reasoning content."
},
"encrypted_content": {
"type": "string",
"title": "Encrypted Content",
"description": "The encrypted reasoning content."
}
},
"type": "object",
"required": [
"id",
"summary"
],
"title": "SummarizedReasoningContent",
"description": "The style of reasoning content returned by the OpenAI Responses API"
},
"SummarizedReasoningContentPart": {
"properties": {
"index": {
"type": "integer",
"title": "Index",
"description": "The index of the summary part."
},
"text": {
"type": "string",
"title": "Text",
"description": "The text of the summary part."
}
},
"type": "object",
"required": [
"index",
"text"
],
"title": "SummarizedReasoningContentPart"
},
"TextContent": {
"properties": {
"type": {
"type": "string",
"const": "text",
"title": "Type",
"description": "The type of the message.",
"default": "text"
},
"text": {
"type": "string",
"title": "Text",
"description": "The text content of the message."
},
"signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Signature",
"description": "Stores a unique identifier for any reasoning associated with this text content."
}
},
"type": "object",
"required": [
"text"
],
"title": "TextContent"
},
"ToolCallContent": {
"properties": {
"type": {
"type": "string",
"const": "tool_call",
"title": "Type",
"description": "Indicates this content represents a tool call event.",
"default": "tool_call"
},
"id": {
"type": "string",
"title": "Id",
"description": "A unique identifier for this specific tool call instance."
},
"name": {
"type": "string",
"title": "Name",
"description": "The name of the tool being called."
},
"input": {
"additionalProperties": true,
"type": "object",
"title": "Input",
"description": "The parameters being passed to the tool, structured as a dictionary of parameter names to values."
},
"signature": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Signature",
"description": "Stores a unique identifier for any reasoning associated with this tool call."
}
},
"type": "object",
"required": [
"id",
"name",
"input"
],
"title": "ToolCallContent"
},
"ToolReturnContent": {
"properties": {
"type": {
"type": "string",
"const": "tool_return",
"title": "Type",
"description": "Indicates this content represents a tool return event.",
"default": "tool_return"
},
"tool_call_id": {
"type": "string",
"title": "Tool Call Id",
"description": "References the ID of the ToolCallContent that initiated this tool call."
},
"content": {
"type": "string",
"title": "Content",
"description": "The content returned by the tool execution."
},
"is_error": {
"type": "boolean",
"title": "Is Error",
"description": "Indicates whether the tool execution resulted in an error."
}
},
"type": "object",
"required": [
"tool_call_id",
"content",
"is_error"
],
"title": "ToolReturnContent"
},
"ToolReturnCreate": {
"properties": {
"type": {
"type": "string",
"const": "tool_return",
"title": "Type",
"description": "The message type to be created.",
"default": "tool_return"
},
"otid": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Otid",
"description": "The offline threading id (OTID). Set by the client to deduplicate requests. Used for idempotency in background streaming mode — each message in a request must have a unique OTID. Retries of the same request should reuse the same OTIDs."
},
"group_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Group Id",
"description": "The multi-agent group that the message was sent in"
},
"tool_returns": {
"items": {
"$ref": "#/$defs/letta__schemas__letta_message__ToolReturn"
},
"type": "array",
"title": "Tool Returns",
"description": "List of tool returns from client-side execution"
}
},
"type": "object",
"required": [
"tool_returns"
],
"title": "ToolReturnCreate",
"description": "Submit tool return(s) from client-side tool execution.\n\nThis is the preferred way to send tool results back to the agent after\nclient-side tool execution. It is equivalent to sending an ApprovalCreate\nwith tool return approvals, but provides a cleaner API for the common case."
},
"UrlImage": {
"properties": {
"type": {
"type": "string",
"const": "url",
"title": "Type",
"description": "The source type for the image.",
"default": "url"
},
"url": {
"type": "string",
"title": "Url",
"description": "The URL of the image."
}
},
"type": "object",
"required": [
"url"
],
"title": "UrlImage"
},
"letta__schemas__letta_message__ToolReturn": {
"properties": {
"type": {
"type": "string",
"const": "tool",
"title": "Type",
"description": "The message type to be created.",
"default": "tool"
},
"tool_return": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/LettaToolReturnContentUnion"
},
"type": "array"
},
{
"type": "string"
}
],
"title": "Tool Return",
"description": "The tool return value - either a string or list of content parts (text/image)"
},
"status": {
"type": "string",
"enum": [
"success",
"error"
],
"title": "Status"
},
"tool_call_id": {
"type": "string",
"title": "Tool Call Id"
},
"stdout": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Stdout"
},
"stderr": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Stderr"
}
},
"type": "object",
"required": [
"tool_return",
"status",
"tool_call_id"
],
"title": "ToolReturn"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/letta-conversation-message-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.