Skip to main content
Glama
aiterm-mcp
by kitepon

agent_launch

Launch coding agents from one standard entry into persistent local or remote sessions; harness-managed loops, auth, hooks, and transcripts handle execution while delivering completion asynchronously.

Instructions

エージェントを単一の標準入口から永続sessionへ起動する。harnessはagent loop・認証・hook・transcriptを所有する実行基盤、modelはそのharnessが選ぶ推論モデルであり別軸。Cursor harnessからGPT/Claude/Grok等を選んでも完了相関はCursor方式のまま。ComposerはCursorのmodelの一つで、harnessでもGrokのmodelでもない。harness=cursor-cli と model=composer-2.5-fast(またはcomposer-2.5)で指定する。remoteを付けると、SSHで入った別端末のAitermで同じ起動を行い、完了は同じ形で親へ届く。通常CLIと同じHOME・cwd・project/user/local設定・MCP・plugin・skill・permission/trustを共有する。aitermは完了相関stateだけをlaunch単位で所有する。起動されたagentにはsub-agent自己認識、親session、delegation depth/lineage、delegation_allowed=trueを注入し、必要な追加委譲は許可する。別のcomputer(登録済みの端末)で起こす時は、この起動にterminal(端末の登録元が渡す値をそのまま)とcwd(その端末のproject folder)を付ける。ここで起こしてからcd・sshしない。秘密の値はどの引数・prompt・送信文にも書かず、env_varsに名前だけを書く。dispatch した子は投げっぱなしでよい=親はここで待たない。Codex親とClaude Code親にはAitermが回答本文を自動配送する。parent_deliveryがある場合はwait起動も通常の回答回収も不要。親は作業を続けるかターンを終える。Cursor親にはparent_deliveryとwait_processが付く。作業を続ければ次のツール返りに回答が差し込まれ、ターンを終える前にwait_processを背景で起動するとidle中の完了でも起きられる。ポーリングとpty_read(agent_transcript:true)は不要。その他の親では、完了通知をreceiptの wait_process.executable と wait_process.args をそのまま親のターンを塞がない別プロセスAPIへ渡して受け、PowerShell 7のStart-Processだけは windows_start_process_argument_list を単一文字列として渡す。exit を完了通知として扱う(exit 0=done / 3=timeout(既定600秒・未完了) / 4=closed / 7=error(harnessの記録でturnがAPIエラー等で打ち切られた。結果は無い)。receiptのoutcomeが正で、done以外は未完了。ポーリング不要)。wait_command は人間向け互換表示でありprocess境界へ使わない。foreground実行で親のターンを塞がない。自動配送以外の結果回収は pty_read(agent_transcript:true)。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "harness": "<harness>"
    },
    "name": "agent_launch"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo作業ディレクトリ(絶対パス・任意)。terminalを付ける時は必須で、その端末上のproject folderの絶対パス
fastNoファスト(harnessの高速の応答。費用や利用量が増える)。省略とfalseは通常の速度で起こす(利用者の設定にfastが残っていても通常)。trueは通常で起こしてから、その席をfastへ切り替える。modelがfastに対応していない時(FAST_MODE_NOT_SUPPORTED)と、modelへfast版のIDを書いてfalseを渡した時(FAST_MODE_MODEL_CONFLICT)は起動を断る。アカウントの都合で使えない時・確かめられない時は、起動を断らずに通常の速度で起こし、返りの fast を false、fast_error に訳を入れる。modelへfast版のIDを直に書いて省略した時だけ、そのIDのまま起こす(返りの fast は true)。
imageNo初手プロンプトへ添付する画像ファイルの絶対パス(png/jpg/jpeg/gif/webp)
modelNoharnessが選ぶモデル。provider名ではなくlive catalog上のmodel ID
promptNo起動時に渡す初手プロンプト(任意)。送信後は待たずに即返る
remoteNo別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。
harnessYesagent loop・session・hook・transcript・認証を所有する実行基盤
env_varsNo現在のMCP processから継承する環境変数名
terminalNoRun this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.
mcp_configNoclaude-code only. Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars
write_scopeNo能力宣言。read-onlyは対応harnessの標準read-only面で実効禁止する
session_nameNoAiterm session名(省略で自動採番)
trust_projectNo対象projectを信頼し、既知のworkspace・project hooks・MCP初期同意を起動中に進める
reasoning_effortNoharness adapterが標準CLI表現へ変換する思考レベル。Cursorではmodel同時指定が必要
configuration_rootNoClaude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる。claude-code harnessだけ
launch_operation_idNoClaude Codeのpromptなしexact replay相関だけで使用
append_system_promptNoclaude-code only. Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here
require_existing_resumeNoResume an existing saved conversation only; missing or unsupported target never creates a new session. Requires session_name and no prompt; local-only.
throughline_source_sessionNo同一端末のThroughline sessionから読み取り専用contextを初手へ注入する
throughline_supplement_fileNoThroughline 0.10.8以降へそのまま渡すproject束縛済み長期記憶・知識の補足JSON path

Output Schema

NameRequiredDescriptionDefault
fastNo起こした後の、席のfastの状態(この項目を返さない版の別端末では無い)
schemaYes
harnessYes
startupYes
input_idNo
providerYes旧互換field。新規連携はharnessを使う
fast_errorNofastを頼まれたが、通常の速度で起こした時の訳
session_idYes
remote_hostNo別端末で起動した時の接続先
write_scopeNo
event_cursorYes
wait_commandYes
wait_processYes
initial_promptYes
remote_versionNo別端末のAiterm版
submit_residueYes
parent_deliveryNo
managed_completionYes
write_scope_enforcementNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv0.70.3
    • addedInput schema / properties / append_system_prompt
      Added value: +{
      +  "description": "claude-code only. Launch instructions added to the system prompt; kept in Aiterm state, not in the project or home. Never put secrets here",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / configuration_root
      Added value: +{
      +  "description": "Claude Codeの設定root(CLAUDE_CONFIG_DIR)の絶対パス。既定のroot(~/.claude、CLAUDE_CONFIG_DIRなし)か、AITERM_CLAUDE_CONFIG_ROOTSに並べた親の直下だけ。他はAGENT_CONFIGURATION_ROOT_REJECTED。休止席の再開では、新しいrootに同じ会話の記録がある時だけ替えられる。claude-code harnessだけ",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / cwd / description
      Previous value: -"作業ディレクトリ(絶対パス・任意)"New value: +"作業ディレクトリ(絶対パス・任意)。terminalを付ける時は必須で、その端末上のproject folderの絶対パス"
    • addedInput schema / properties / mcp_config
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "claude-code only. Extra MCP servers for this seat. Secret header values: write ${NAME} and list NAME in env_vars",
      +  "properties": {
      +    "mcpServers": {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "mcpServers"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / terminal
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Run this seat on another computer (a registered terminal) over SSH. Value: exactly the terminal value your host system's terminal registry hands over, {ref, target:{host,user,port}, trustRevision, and credentialRevision or credential {handle, revision}}; copy it unchanged, never invent or edit it, never use a host name or ssh command instead. Omit it to launch on this computer. Give cwd in the same call: the absolute project folder on that terminal. Never launch locally and then cd or ssh. Never put tokens, passwords or other secrets in any argument, prompt or typed text; pass secret values only by name in env_vars. After launch, use session_id alone for pty_send, pty_observe, pty_read, pty_key, claude_turn, agent_stop and pty_close; Aiterm routes them to the terminal. Errors and next step: TERMINAL_INVALID = malformed value, missing/relative cwd, or combined with remote: pass the registry's value unchanged with cwd. TARGET_MISMATCH / BINDING_UNKNOWN = the value is not this terminal's binding: ask the terminal registry again. HOST_TRUST_STALE / CREDENTIAL_REVISION_STALE = the binding changed: get the current value from the terminal registry and launch again. HOST_KEY_MISMATCH / HOST_TRUST_MISSING = the terminal's host key is not the trusted one: the Owner must confirm the new host key; do not retry. CREDENTIAL_REQUIRED / CREDENTIAL_NOT_LOADED = this terminal's key comes from a credential handle that the registry must load first; never paste a key anywhere. AUTH_FAILED = the terminal refused the key. UNREACHABLE = the terminal is offline; try later. CONNECTION_REFUSED = the terminal refused the SSH connection (SSH may be off there); try later. REMOTE_AITERM_TOO_OLD = update Aiterm on the terminal. CWD_UNAVAILABLE = the folder does not exist there; do not pick another folder. SEAT_FORWARD_UNAVAILABLE = the seat's MCP route back to this computer is not ready (launch again later), or the seat MCP URLs are not http://127.0.0.1:<one port>/api/seat-mcp. TERMINAL_HARNESS_UNSUPPORTED = use harness claude-code.",
      +  "properties": {
      +    "credential": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "handle": {
      +          "format": "uuid",
      +          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +          "type": "string"
      +        },
      +        "revision": {
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "handle",
      +        "revision"
      +      ],
      +      "type": "object"
      +    },
      +    "credentialRevision": {
      +      "pattern": "^sha256:[0-9a-f]{64}$",
      +      "type": "string"
      +    },
      +    "ref": {
      +      "format": "uuid",
      +      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +      "type": "string"
      +    },
      +    "sudoCredential": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "handle": {
      +          "format": "uuid",
      +          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      +          "type": "string"
      +        },
      +        "revision": {
      +          "exclusiveMinimum": 0,
      +          "maximum": 9007199254740991,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "handle",
      +        "revision"
      +      ],
      +      "type": "object"
      +    },
      +    "target": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "host": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "port": {
      +          "maximum": 65535,
      +          "minimum": 1,
      +          "type": "integer"
      +        },
      +        "user": {
      +          "minLength": 1,
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "host",
      +        "user",
      +        "port"
      +      ],
      +      "type": "object"
      +    },
      +    "trustRevision": {
      +      "pattern": "^sha256:[0-9a-f]{64}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "ref",
      +    "target",
      +    "trustRevision"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.63.16
    • addedInput schema / properties / require_existing_resume
      Added value: +{
      +  "description": "Resume an existing saved conversation only; missing or unsupported target never creates a new session. Requires session_name and no prompt; local-only.",
      +  "type": "boolean"
      +}
  3. Changed4 schema fields changedv0.63.7
    • addedOutput schema / properties / input_id
      Added value: +{
      +  "pattern": "^[a-f0-9]{32}$",
      +  "type": "string"
      +}
    • addedOutput schema / properties / parent_delivery / properties / child_error_kind
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / parent_delivery / properties / child_failure
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "boundary": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "event_cursor": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "input_id": {
      +              "pattern": "^[a-f0-9]{32}$",
      +              "type": "string"
      +            },
      +            "operation_id": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "turn_id": {
      +              "anyOf": [
      +                {
      +                  "type": "string"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            }
      +          },
      +          "required": [
      +            "event_cursor",
      +            "operation_id",
      +            "turn_id"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "category": {
      +      "enum": [
      +        "capacity",
      +        "rate_limited",
      +        "transient",
      +        "other"
      +      ],
      +      "type": "string"
      +    },
      +    "execution": {
      +      "enum": [
      +        "not_started",
      +        "started",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    },
      +    "future_effects": {
      +      "const": "unknown",
      +      "type": "string"
      +    },
      +    "terminal": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "category",
      +    "execution",
      +    "boundary",
      +    "terminal",
      +    "future_effects"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / parent_delivery / properties / child_vendor_session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  4. Changed3 schema fields changedv0.62.2
    • changedInput schema / properties / harness / enum
      Previous value: -[
      -  "claude-code",
      -  "codex-cli",
      -  "grok-cli",
      -  "cursor-cli"
      -]New value: +[
      +  "claude-code",
      +  "codex-cli",
      +  "grok-cli",
      +  "cursor-cli",
      +  "antigravity-cli"
      +]
    • changedOutput schema / properties / harness / enum
      Previous value: -[
      -  "claude-code",
      -  "codex-cli",
      -  "grok-cli",
      -  "cursor-cli"
      -]New value: +[
      +  "claude-code",
      +  "codex-cli",
      +  "grok-cli",
      +  "cursor-cli",
      +  "antigravity-cli"
      +]
    • changedOutput schema / properties / provider / enum
      Previous value: -[
      -  "claude",
      -  "codex",
      -  "grok",
      -  "cursor"
      -]New value: +[
      +  "claude",
      +  "codex",
      +  "grok",
      +  "cursor",
      +  "antigravity"
      +]
  5. Changed3 schema fields changedv0.60.1
    • addedInput schema / properties / fast
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "ファスト(harnessの高速の応答。費用や利用量が増える)。省略とfalseは通常の速度で起こす(利用者の設定にfastが残っていても通常)。trueは通常で起こしてから、その席をfastへ切り替える。modelがfastに対応していない時(FAST_MODE_NOT_SUPPORTED)と、modelへfast版のIDを書いてfalseを渡した時(FAST_MODE_MODEL_CONFLICT)は起動を断る。アカウントの都合で使えない時・確かめられない時は、起動を断らずに通常の速度で起こし、返りの fast を false、fast_error に訳を入れる。modelへfast版のIDを直に書いて省略した時だけ、そのIDのまま起こす(返りの fast は true)。"
      +}
    • addedOutput schema / properties / fast
      Added value: +{
      +  "description": "起こした後の、席のfastの状態(この項目を返さない版の別端末では無い)",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / fast_error
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "code": {
      +          "enum": [
      +            "FAST_MODE_NOT_SUPPORTED",
      +            "FAST_MODE_UNAVAILABLE",
      +            "FAST_MODE_MODEL_CONFLICT",
      +            "FAST_MODE_UNCONFIRMED"
      +          ],
      +          "type": "string"
      +        },
      +        "message": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "fastを頼まれたが、通常の速度で起こした時の訳"
      +}
  6. Changed1 schema field changedv0.45.0
    • changedOutput schema / properties / provider / enum
      Previous value: -[
      -  "claude",
      -  "codex",
      -  "grok",
      -  "composer",
      -  "cursor"
      -]New value: +[
      +  "claude",
      +  "codex",
      +  "grok",
      +  "cursor"
      +]
  7. Changed3 schema fields changedv0.39.1
    • addedInput schema / properties / remote
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "別端末のAitermで実行する時のSSH接続情報。hostだけならssh_configの接続名として使う。Aitermは接続情報を保存・管理しない。passphraseは会話記録に残るため、ssh-agentかpassphrase_env(環境変数名)を推奨する。",
      +  "properties": {
      +    "host": {
      +      "pattern": "^(?!-)[A-Za-z0-9._%:\\[\\]-]{1,255}$",
      +      "type": "string"
      +    },
      +    "identity_file": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "passphrase": {
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "passphrase_env": {
      +      "pattern": "^[A-Za-z_][A-Za-z0-9_]*$",
      +      "type": "string"
      +    },
      +    "port": {
      +      "maximum": 65535,
      +      "minimum": 1,
      +      "type": "integer"
      +    },
      +    "ssh_options": {
      +      "items": {
      +        "pattern": "^[A-Za-z][A-Za-z0-9]*=[^\\r\\n]*$",
      +        "type": "string"
      +      },
      +      "maxItems": 32,
      +      "type": "array"
      +    },
      +    "user": {
      +      "pattern": "^(?!-)[A-Za-z0-9._@\\\\-]{1,128}$",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "host"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / remote_host
      Added value: +{
      +  "description": "別端末で起動した時の接続先",
      +  "type": "string"
      +}
    • addedOutput schema / properties / remote_version
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "別端末のAiterm版"
      +}
  8. Changed5 schema fields changedv0.35.0
    • addedInput schema / properties / trust_project
      Added value: +{
      +  "description": "対象projectを信頼し、既知のworkspace・project hooks・MCP初期同意を起動中に進める",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / initial_prompt
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "reason": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "not_requested",
      +        "not_sent",
      +        "submitted_unconfirmed",
      +        "started"
      +      ],
      +      "type": "string"
      +    },
      +    "turn_started": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "reason",
      +    "turn_started"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / parent_delivery
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "child_outcome": {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "done",
      +            "closed",
      +            "rate_limited",
      +            "error"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "child_turn_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "delivery_id": {
      +      "type": "string"
      +    },
      +    "error_code": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "queued_submission_id": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "state": {
      +      "enum": [
      +        "waiting",
      +        "ready",
      +        "sending",
      +        "submitted",
      +        "failed",
      +        "unknown"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "delivery_id",
      +    "state",
      +    "child_outcome",
      +    "child_turn_id",
      +    "queued_submission_id",
      +    "error_code"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / startup
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "reason": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "enum": [
      +        "ready",
      +        "not_checked",
      +        "blocked"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "reason"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "schema",
      -  "harness",
      -  "provider",
      -  "session_id",
      -  "managed_completion",
      -  "event_cursor",
      -  "wait_process",
      -  "wait_command",
      -  "submit_residue"
      -]New value: +[
      +  "schema",
      +  "initial_prompt",
      +  "startup",
      +  "harness",
      +  "provider",
      +  "session_id",
      +  "managed_completion",
      +  "event_cursor",
      +  "wait_process",
      +  "wait_command",
      +  "submit_residue"
      +]
  9. Changed1 schema field changedv0.31.2
    • addedInput schema / properties / image
      Added value: +{
      +  "description": "初手プロンプトへ添付する画像ファイルの絶対パス(png/jpg/jpeg/gif/webp)",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  10. Changed1 schema field changedv0.29.21
    • addedInput schema / properties / throughline_supplement_file
      Added value: +{
      +  "description": "Throughline 0.10.8以降へそのまま渡すproject束縛済み長期記憶・知識の補足JSON path",
      +  "minLength": 1,
      +  "type": "string"
      +}
  11. Changed2 schema fields changedv0.29.8
    • addedOutput schema / properties / wait_process
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": false,
      +      "properties": {
      +        "args": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "executable": {
      +          "type": "string"
      +        },
      +        "windows_start_process_argument_list": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "required": [
      +        "executable",
      +        "args",
      +        "windows_start_process_argument_list"
      +      ],
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "schema",
      -  "harness",
      -  "provider",
      -  "session_id",
      -  "managed_completion",
      -  "event_cursor",
      -  "wait_command",
      -  "submit_residue"
      -]New value: +[
      +  "schema",
      +  "harness",
      +  "provider",
      +  "session_id",
      +  "managed_completion",
      +  "event_cursor",
      +  "wait_process",
      +  "wait_command",
      +  "submit_residue"
      +]
  12. Addedv0.28.0

TDQS

A4.5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does so unusually well. It discloses what is injected into the launched agent (sub-agent self-awareness, parent session, delegation depth/lineage, delegation_allowed=true), that the launch is non-blocking for the parent turn, that remote shares HOME/cwd/project config/MCP/plugins/skills/permissions, that Aiterm holds only completion-correlation state per launch, and that it never stores remote connection info. The exit-code semantics (0=done, 3=timeout at default 600s, 4=closed, 7=API-aborted with no result) and the explicit 'never write secret values in any argument/prompt, only names in env_vars' rule are precisely the behavioral facts an agent needs.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the body is a dense wall of text that interleaves harness/model explanation, remote semantics, completion-correlation protocol, parent-type branching, and exit codes with no structural separation. There is real redundancy — 'ポーリング不要' is asserted twice — and the wait_process/wait_command/receipt guidance occupies a large share of the text relative to the launch action itself. It is information-dense rather than wasteful, but it would benefit from grouping.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 20-parameter tool with an output schema present, the description correctly avoids re-explaining return values and instead spends its length on the genuinely hard part: how completion is observed per parent type (auto-delivery for Codex/Claude Code versus wait_process/process-API handoff for others), and why wait_command is a human-facing compatibility view that must not be used as a process boundary. That coverage, plus secret-handling and remote error routing, makes the definition complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3; the description earns above baseline by adding meaning the schema cannot. It explains the harness/model relationship conceptually, gives a concrete working pairing (harness=cursor-cli with model=composer-2.5-fast or composer-2.5), and states the coupling rule that terminal requires cwd on that machine and must not be combined with remote. It adds less for the remaining parameters (write_scope, reasoning_effort, configuration_root, throughline_*), leaving those to the already-complete schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb and resource — launching an agent into a persistent session from a single standard entry point — and immediately disambiguates the two axes an agent must not confuse: harness (execution substrate: agent loop, auth, hook, transcript) versus model (the inference model the harness selects). It also explicitly clarifies that Composer is a Cursor model, not a harness and not a Grok model, which prevents a realistic mis-selection. This positions the tool as the unified launcher distinct from harness-specific siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Strong operational routing: use remote to launch via SSH on another terminal, use terminal + cwd for a registered computer, and 'do not cd or ssh after launching here' is an explicit exclusion. It also states when NOT to poll — pty_read and polling are unnecessary when parent_delivery exists, and wait_process is only needed on Cursor parents. What is missing is explicit routing versus the harness-specific siblings (claude_agent, codex_agent, grok_agent); the 'single standard entry point' framing implies it but never states 'prefer this over X'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.