{
  "name": "create_session",
  "wireName": "create_session",
  "source": {
    "repo": "libtmux/libtmux-java",
    "revision": "f56392b5d9bc7f1f9c1631842333fb90f3d82d40",
    "extractedRevision": "f56392b5d9bc7f1f9c1631842333fb90f3d82d40",
    "file": "libtmux-mcp/src/main/java/io/github/libtmux/mcp/ExecuteTools.java",
    "line": 39
  },
  "description": "Creates a detached session whose first pane runs the configured process. Start a pane's configured process; accepts no command payload.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "height": {
        "default": -1,
        "description": "Initial height; supply with width. Defaults to -1.",
        "type": "integer"
      },
      "session_name": {
        "description": "A literal session name.",
        "type": "string"
      },
      "start_directory": {
        "description": "An absolute literal start directory.",
        "type": "string"
      },
      "width": {
        "default": -1,
        "description": "Initial width; supply with height. Defaults to -1.",
        "type": "integer"
      },
      "window_name": {
        "description": "A literal first-window name.",
        "type": "string"
      }
    },
    "required": [],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": false,
    "properties": {
      "attached": {
        "type": "boolean"
      },
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "windows": {
        "type": "integer"
      }
    },
    "required": [
      "id",
      "name",
      "attached",
      "windows"
    ],
    "type": "object"
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false,
    "title": "Create a session"
  },
  "meta": {
    "com.git-pull.libtmux-mcp/capability": {
      "amplifiesFutureInput": false,
      "annotations": {
        "destructiveHint": true,
        "idempotentHint": false,
        "openWorldHint": true,
        "readOnlyHint": false
      },
      "description": "Creates a detached session whose first pane runs the configured process. Start a pane's configured process; accepts no command payload.",
      "inputLiteralization": {
        "session_name": "double-hash-once",
        "start_directory": "double-hash-once",
        "window_name": "double-hash-once"
      },
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "height": {
            "default": -1,
            "description": "Initial height; supply with width. Defaults to -1.",
            "type": "integer"
          },
          "session_name": {
            "description": "A literal session name.",
            "type": "string"
          },
          "start_directory": {
            "description": "An absolute literal start directory.",
            "type": "string"
          },
          "width": {
            "default": -1,
            "description": "Initial width; supply with height. Defaults to -1.",
            "type": "integer"
          },
          "window_name": {
            "description": "A literal first-window name.",
            "type": "string"
          }
        },
        "required": [],
        "type": "object"
      },
      "mayExposeSecrets": true,
      "mayReturnUntrustedContent": true,
      "name": "create_session",
      "nestedAuthority": [],
      "outputClasses": [
        "tmux-metadata"
      ],
      "outputSchema": {
        "additionalProperties": false,
        "properties": {
          "attached": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "windows": {
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "attached",
          "windows"
        ],
        "type": "object"
      },
      "processReach": "configured-process",
      "title": "Create a session",
      "tmuxEffects": [
        "observe",
        "change"
      ],
      "toolset": "execute"
    }
  }
}
