MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

tool MCP

run_operations

Run up to eight enabled tool calls sequentially after validating every item. Stop at the first execution failure and return ordered completed results plus a one-based failedIndex; no rollback. Configured tmux hooks and aliases may have effects, including during observation.

MCP request method
tools/call Send run_operations as the tool name, with the arguments below.
Tool selection
Opt in with --tool run_operations.

Arguments

No other arguments are accepted.

Result

Returns object | object | object | object | object

Matches one or more variants.

Types

criteriaNode: object | object | object

type

Matches exactly one variant.

  • Variant 1 (object)

    No other properties are accepted.

  • Variant 2 (object)

    No other properties are accepted.

  • Variant 3 (object)

    • fields (Array<object>)

      maxItems
      64
      • Items (object)

        • field ("tmux.client.activity" | "tmux.client.created" | "tmux.client.id" | "tmux.client.name" | "tmux.client.pid" | "tmux.client.session" | "tmux.pane.active" | "tmux.pane.current_command" | "tmux.pane.current_path" | "tmux.pane.cursor_x" | "tmux.pane.cursor_y" | "tmux.pane.dead" | "tmux.pane.exit_status" | "tmux.pane.height" | "tmux.pane.history_limit" | "tmux.pane.history_size" | "tmux.pane.id" | "tmux.pane.index" | "tmux.pane.pid" | "tmux.pane.title" | "tmux.pane.tty" | "tmux.pane.width" | "tmux.pane.window" | "tmux.session.activity" | "tmux.session.attached_clients" | "tmux.session.created" | "tmux.session.id" | "tmux.session.last_attached" | "tmux.session.name" | "tmux.session.windowlinks" | "tmux.session.windows" | "tmux.window.activity" | "tmux.window.height" | "tmux.window.id" | "tmux.window.layout" | "tmux.window.name" | "tmux.window.panes" | "tmux.window.visible_layout" | "tmux.window.width" | "tmux.window.windowlinks" | "tmux.window.zoomed" | "tmux.windowlink.active" | "tmux.windowlink.index" | "tmux.windowlink.session" | "tmux.windowlink.window")

        • match (object | object | object | object)

          Matches exactly one variant.

        No other properties are accepted.

    • op ("fields")

    No other properties are accepted.

criteriaNode: object | object | object

type

Matches exactly one variant.

  • Variant 1 (object)

    No other properties are accepted.

  • Variant 2 (object)

    No other properties are accepted.

  • Variant 3 (object)

    • fields (Array<object>)

      maxItems
      64
      • Items (object)

        • field ("tmux.client.activity" | "tmux.client.created" | "tmux.client.id" | "tmux.client.name" | "tmux.client.pid" | "tmux.client.session" | "tmux.pane.active" | "tmux.pane.current_command" | "tmux.pane.current_path" | "tmux.pane.cursor_x" | "tmux.pane.cursor_y" | "tmux.pane.dead" | "tmux.pane.exit_status" | "tmux.pane.height" | "tmux.pane.history_limit" | "tmux.pane.history_size" | "tmux.pane.id" | "tmux.pane.index" | "tmux.pane.pid" | "tmux.pane.title" | "tmux.pane.tty" | "tmux.pane.width" | "tmux.pane.window" | "tmux.session.activity" | "tmux.session.attached_clients" | "tmux.session.created" | "tmux.session.id" | "tmux.session.last_attached" | "tmux.session.name" | "tmux.session.windowlinks" | "tmux.session.windows" | "tmux.window.activity" | "tmux.window.height" | "tmux.window.id" | "tmux.window.layout" | "tmux.window.name" | "tmux.window.panes" | "tmux.window.visible_layout" | "tmux.window.width" | "tmux.window.windowlinks" | "tmux.window.zoomed" | "tmux.windowlink.active" | "tmux.windowlink.index" | "tmux.windowlink.session" | "tmux.windowlink.window")

        • match (object | object | object | object)

          Matches exactly one variant.

        No other properties are accepted.

    • op ("fields")

    No other properties are accepted.

Annotations

Advertised by the server

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false

Capability

Toolset
Teardown Delete tmux objects or retained scrollback. Not reversible.
Process reach
pane-program
tmux effects
observe change delete

Every Julia tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.

Protocol data

Use the complete advertised contract for validation and client integration.

Input schema
{
"$defs": {
"criteriaNode": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"args": {
"items": {
"$ref": "#/$defs/criteriaNode"
},
"maxItems": 64,
"type": "array"
},
"op": {
"enum": [
"all",
"any"
]
}
},
"required": [
"op",
"args"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arg": {
"$ref": "#/$defs/criteriaNode"
},
"op": {
"const": "not"
}
},
"required": [
"op",
"arg"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"enum": [
"tmux.client.activity",
"tmux.client.created",
"tmux.client.id",
"tmux.client.name",
"tmux.client.pid",
"tmux.client.session",
"tmux.pane.active",
"tmux.pane.current_command",
"tmux.pane.current_path",
"tmux.pane.cursor_x",
"tmux.pane.cursor_y",
"tmux.pane.dead",
"tmux.pane.exit_status",
"tmux.pane.height",
"tmux.pane.history_limit",
"tmux.pane.history_size",
"tmux.pane.id",
"tmux.pane.index",
"tmux.pane.pid",
"tmux.pane.title",
"tmux.pane.tty",
"tmux.pane.width",
"tmux.pane.window",
"tmux.session.activity",
"tmux.session.attached_clients",
"tmux.session.created",
"tmux.session.id",
"tmux.session.last_attached",
"tmux.session.name",
"tmux.session.windowlinks",
"tmux.session.windows",
"tmux.window.activity",
"tmux.window.height",
"tmux.window.id",
"tmux.window.layout",
"tmux.window.name",
"tmux.window.panes",
"tmux.window.visible_layout",
"tmux.window.width",
"tmux.window.windowlinks",
"tmux.window.zoomed",
"tmux.windowlink.active",
"tmux.windowlink.index",
"tmux.windowlink.session",
"tmux.windowlink.window"
]
},
"match": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"op": {
"enum": [
"eq",
"ne",
"ge",
"le",
"gt",
"lt"
]
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"required": [
"op",
"value"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"op": {
"const": "in"
},
"values": {
"items": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"maxItems": 64,
"type": "array"
}
},
"required": [
"op",
"values"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"case": {
"enum": [
"sensitive",
"ascii_insensitive"
]
},
"op": {
"enum": [
"contains",
"startsWith",
"endsWith"
]
},
"value": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"type": "string"
}
},
"required": [
"op",
"value",
"case"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"op": {
"enum": [
"is",
"anyRelated",
"allRelated",
"noRelated"
]
},
"where": {
"$ref": "#/$defs/criteriaNode"
}
},
"required": [
"op",
"where"
],
"type": "object"
}
]
}
},
"required": [
"field",
"match"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"op": {
"const": "fields"
}
},
"required": [
"op",
"fields"
],
"type": "object"
}
]
}
},
"additionalProperties": false,
"properties": {
"operations": {
"items": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"arguments": {
"$defs": {
"criteriaNode": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"args": {
"items": {
"$ref": "#/$defs/criteriaNode"
},
"maxItems": 64,
"type": "array"
},
"op": {
"enum": [
"all",
"any"
]
}
},
"required": [
"op",
"args"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arg": {
"$ref": "#/$defs/criteriaNode"
},
"op": {
"const": "not"
}
},
"required": [
"op",
"arg"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"fields": {
"items": {
"additionalProperties": false,
"properties": {
"field": {
"enum": [
"tmux.client.activity",
"tmux.client.created",
"tmux.client.id",
"tmux.client.name",
"tmux.client.pid",
"tmux.client.session",
"tmux.pane.active",
"tmux.pane.current_command",
"tmux.pane.current_path",
"tmux.pane.cursor_x",
"tmux.pane.cursor_y",
"tmux.pane.dead",
"tmux.pane.exit_status",
"tmux.pane.height",
"tmux.pane.history_limit",
"tmux.pane.history_size",
"tmux.pane.id",
"tmux.pane.index",
"tmux.pane.pid",
"tmux.pane.title",
"tmux.pane.tty",
"tmux.pane.width",
"tmux.pane.window",
"tmux.session.activity",
"tmux.session.attached_clients",
"tmux.session.created",
"tmux.session.id",
"tmux.session.last_attached",
"tmux.session.name",
"tmux.session.windowlinks",
"tmux.session.windows",
"tmux.window.activity",
"tmux.window.height",
"tmux.window.id",
"tmux.window.layout",
"tmux.window.name",
"tmux.window.panes",
"tmux.window.visible_layout",
"tmux.window.width",
"tmux.window.windowlinks",
"tmux.window.zoomed",
"tmux.windowlink.active",
"tmux.windowlink.index",
"tmux.windowlink.session",
"tmux.windowlink.window"
]
},
"match": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"op": {
"enum": [
"eq",
"ne",
"ge",
"le",
"gt",
"lt"
]
},
"value": {
"type": [
"string",
"number",
"boolean",
"null"
]
}
},
"required": [
"op",
"value"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"op": {
"const": "in"
},
"values": {
"items": {
"type": [
"string",
"number",
"boolean",
"null"
]
},
"maxItems": 64,
"type": "array"
}
},
"required": [
"op",
"values"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"case": {
"enum": [
"sensitive",
"ascii_insensitive"
]
},
"op": {
"enum": [
"contains",
"startsWith",
"endsWith"
]
},
"value": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"type": "string"
}
},
"required": [
"op",
"value",
"case"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"op": {
"enum": [
"is",
"anyRelated",
"allRelated",
"noRelated"
]
},
"where": {
"$ref": "#/$defs/criteriaNode"
}
},
"required": [
"op",
"where"
],
"type": "object"
}
]
}
},
"required": [
"field",
"match"
],
"type": "object"
},
"maxItems": 64,
"type": "array"
},
"op": {
"const": "fields"
}
},
"required": [
"op",
"fields"
],
"type": "object"
}
]
}
},
"additionalProperties": false,
"properties": {
"columns": {
"items": {
"enum": [
"active",
"current_command",
"current_path",
"cursor_x",
"cursor_y",
"dead",
"exit_status",
"height",
"history_limit",
"history_size",
"id",
"index",
"pid",
"title",
"tty",
"width"
]
},
"maxItems": 16,
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"limit": {
"default": 32,
"maximum": 128,
"minimum": 1,
"type": "integer"
},
"offset": {
"default": 0,
"maximum": 1000000,
"minimum": 0,
"type": "integer"
},
"pageToken": {
"description": "Continue nextPageToken; changed discovery facets or query refuse with observation_changed.",
"maxLength": 80,
"pattern": "^v1\\.(0|[1-9][0-9]{0,6})\\.[0-9a-f]{64}$",
"type": "string"
},
"scope": {
"oneOf": [
{
"additionalProperties": false,
"properties": {
"generation": {
"description": "Valid UTF-8; at most 128 bytes",
"maxLength": 128,
"type": "string"
},
"sessionId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^\\$(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"sessionId",
"generation"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"generation": {
"description": "Valid UTF-8; at most 128 bytes",
"maxLength": 128,
"type": "string"
},
"windowId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^@(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"windowId",
"generation"
],
"type": "object"
}
]
},
"where": {
"additionalProperties": false,
"description": "Native inert pane criteria; field types and relation targets use the core catalog. Maximum nesting 24, 512 nodes, 64 items, 1024 bytes per string, 8192 string/key bytes total.",
"properties": {
"entity": {
"const": "pane"
},
"schema": {
"const": "libtmux.julia.where"
},
"version": {
"const": 1
},
"where": {
"$ref": "#/$defs/criteriaNode"
}
},
"required": [
"schema",
"version",
"entity",
"where"
],
"type": "object"
}
},
"required": [],
"type": "object"
},
"tool": {
"const": "list_panes"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"lines": {
"default": 100,
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"maxBytes": {
"default": 65536,
"maximum": 65536,
"minimum": 1,
"type": "integer"
},
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
}
},
"required": [
"target"
],
"type": "object"
},
"tool": {
"const": "capture_pane"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"keys": {
"items": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"type": "string"
},
"maxItems": 64,
"minItems": 1,
"type": "array"
},
"literal": {
"default": false,
"type": "boolean"
},
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
}
},
"required": [
"target",
"keys"
],
"type": "object"
},
"tool": {
"const": "send_keys"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
},
"text": {
"description": "Valid UTF-8; at most 65536 bytes",
"maxLength": 65536,
"type": "string"
}
},
"required": [
"target",
"text"
],
"type": "object"
},
"tool": {
"const": "paste_text"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"anyOf": [
{
"required": [
"width"
]
},
{
"required": [
"height"
]
}
],
"properties": {
"height": {
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
},
"width": {
"maximum": 10000,
"minimum": 1,
"type": "integer"
}
},
"required": [
"target"
],
"type": "object"
},
"tool": {
"const": "resize_pane"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
}
},
"required": [
"target"
],
"type": "object"
},
"tool": {
"const": "kill_pane"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"command": {
"description": "Executable and argv; no shell expansion",
"items": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"type": "string"
},
"maxItems": 32,
"minItems": 1,
"type": "array"
},
"name": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^[A-Za-z0-9_-]+$",
"type": "string"
}
},
"required": [
"name",
"command"
],
"type": "object"
},
"tool": {
"const": "create_session"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"generation": {
"description": "Valid UTF-8; at most 128 bytes",
"maxLength": 128,
"type": "string"
},
"sessionId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"type": "string"
}
},
"required": [
"sessionId",
"generation"
],
"type": "object"
},
"tool": {
"const": "teardown_session"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
},
"text": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"timeoutSeconds": {
"default": 5,
"description": "Total wait budget in seconds, capped by the remaining application call deadline",
"exclusiveMinimum": 0,
"maximum": 5,
"type": "number"
}
},
"required": [
"target",
"text"
],
"type": "object"
},
"tool": {
"const": "wait_for_text"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"arguments": {
"additionalProperties": false,
"properties": {
"keys": {
"items": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"type": "string"
},
"maxItems": 64,
"minItems": 1,
"type": "array"
},
"literal": {
"default": false,
"type": "boolean"
},
"target": {
"additionalProperties": false,
"description": "Explicit captured target; omission requires a configured caller pane",
"properties": {
"generation": {
"description": "Opaque generation from list_panes",
"maxLength": 128,
"type": "string"
},
"paneId": {
"description": "Valid UTF-8; at most 64 bytes",
"maxLength": 64,
"pattern": "^%(0|[1-9][0-9]*)$",
"type": "string"
}
},
"required": [
"paneId",
"generation"
],
"type": "object"
},
"text": {
"description": "Valid UTF-8; at most 1024 bytes",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"timeoutSeconds": {
"default": 5,
"description": "Total wait budget in seconds, capped by the remaining application call deadline",
"exclusiveMinimum": 0,
"maximum": 5,
"type": "number"
}
},
"required": [
"target",
"keys",
"text"
],
"type": "object"
},
"tool": {
"const": "send_keys_and_wait"
}
},
"required": [
"tool",
"arguments"
],
"type": "object"
}
]
},
"maxItems": 8,
"minItems": 1,
"type": "array"
}
},
"required": [
"operations"
],
"type": "object"
}
Output schema
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"atomic": {
"const": false
},
"completed": {
"items": {
"additionalProperties": false,
"properties": {
"result": {
"type": "object"
},
"tool": {
"type": "string"
}
},
"required": [
"tool",
"result"
],
"type": "object"
},
"maxItems": 8,
"type": "array"
},
"failedIndex": {
"type": "null"
}
},
"required": [
"failedIndex",
"completed",
"atomic"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"atomic": {
"const": false
},
"completed": {
"items": {
"additionalProperties": false,
"properties": {
"result": {
"type": "object"
},
"tool": {
"type": "string"
}
},
"required": [
"tool",
"result"
],
"type": "object"
},
"maxItems": 8,
"type": "array"
},
"error": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"effects": {
"enum": [
"none",
"possible"
]
},
"message": {
"type": "string"
},
"output": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"required": [
"code",
"message",
"effects",
"retryable"
],
"type": "object"
},
"failedIndex": {
"maximum": 8,
"minimum": 1,
"type": "integer"
}
},
"required": [
"failedIndex",
"completed",
"atomic",
"error"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"atomic": {
"const": false
},
"completed": {
"items": {
"additionalProperties": false,
"properties": {
"completed": {
"const": true
},
"resultOmitted": {
"const": true
},
"tool": {
"type": "string"
}
},
"required": [
"tool",
"completed",
"resultOmitted"
],
"type": "object"
},
"maxItems": 8,
"type": "array"
},
"error": {
"additionalProperties": false,
"properties": {
"code": {
"const": "result_limit"
},
"effects": {
"enum": [
"none",
"possible"
]
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"required": [
"code",
"message",
"effects",
"retryable"
],
"type": "object"
},
"failedIndex": {
"type": "null"
}
},
"required": [
"completed",
"atomic",
"error",
"failedIndex"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"atomic": {
"const": false
},
"completed": {
"items": {
"additionalProperties": false,
"properties": {
"completed": {
"const": true
},
"resultOmitted": {
"const": true
},
"tool": {
"type": "string"
}
},
"required": [
"tool",
"completed",
"resultOmitted"
],
"type": "object"
},
"maxItems": 8,
"type": "array"
},
"error": {
"additionalProperties": false,
"properties": {
"code": {
"const": "result_limit"
},
"effects": {
"enum": [
"none",
"possible"
]
},
"message": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"required": [
"code",
"message",
"effects",
"retryable"
],
"type": "object"
},
"failedIndex": {
"maximum": 8,
"minimum": 1,
"type": "integer"
},
"originalError": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
}
},
"required": [
"completed",
"atomic",
"error",
"failedIndex",
"originalError"
],
"type": "object"
},
{
"properties": {
"error": {
"additionalProperties": false,
"properties": {
"code": {
"type": "string"
},
"effects": {
"enum": [
"none",
"possible"
]
},
"message": {
"type": "string"
},
"output": {
"type": "string"
},
"retryable": {
"type": "boolean"
}
},
"required": [
"code",
"message",
"effects",
"retryable"
],
"type": "object"
}
},
"required": [
"error"
],
"type": "object"
}
],
"type": "object"
}
Esc
Search in

Type to search.

Reference previewOpen reference