{
  "name": "wait_for_channel",
  "wireName": "wait_for_channel",
  "source": {
    "repo": "libtmux/libtmux-dotnet",
    "revision": "320dc64f4b8b7815842471327a5e6b84a1499bf8",
    "extractedRevision": "b243b2cf82de4e98e2172aba4f54a52b9c363dc4",
    "file": "src/LibTmux.Mcp/Policy/CapabilityModel.cs",
    "line": 587
  },
  "description": "Change tmux state; no client-supplied executable input. Block until something signals a tmux wait-for channel with 'tmux wait-for -S <channel>'. Use when you composed a shell command that signals it. For an ordinary command whose completion you want, run_shell_command already does this and also reports the exit status.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "channel": {
        "description": "The tmux wait-for channel.",
        "type": "string"
      },
      "timeoutSeconds": {
        "default": null,
        "description": "Requested timeout in seconds.",
        "type": [
          "number",
          "null"
        ]
      }
    },
    "required": [
      "channel"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "changed": {
        "type": "string"
      },
      "channel": {
        "type": "string"
      },
      "effectiveTimeoutSeconds": {
        "type": "number"
      },
      "elapsedSeconds": {
        "type": "number"
      },
      "signalled": {
        "type": "boolean"
      }
    },
    "required": [
      "changed",
      "channel",
      "signalled",
      "elapsedSeconds",
      "effectiveTimeoutSeconds"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Wait for channel"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "inputLiteralization": {},
      "mayExposeSecrets": false,
      "mayReturnUntrustedContent": false,
      "name": "wait_for_channel",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "processReach": "none",
      "tmuxEffects": [
        "change"
      ],
      "toolset": "manage"
    }
  }
}
