{
  "method": "sessionUpdate",
  "args": [
    {
      "sessionId": "session-id",
      "update": {
        "sessionUpdate": "available_commands_update",
        "availableCommands": [
          {
            "name": "plan",
            "description": "Turn plan mode on.",
            "input": null,
            "_meta": {
              "commandAction": {
                "kind": "setConfigOption",
                "configId": "collaboration_mode",
                "value": "plan",
                "resetValue": "default",
                "presentation": "state"
              }
            }
          },
          {
            "name": "mcp",
            "description": "List configured Model Context Protocol (MCP) tools.",
            "input": null
          },
          {
            "name": "skills",
            "description": "List available skills.",
            "input": null
          },
          {
            "name": "status",
            "description": "Display session configuration and token usage.",
            "input": null
          },
          {
            "name": "review",
            "description": "Review uncommitted changes, or review with custom instructions.",
            "input": {
              "hint": "optional review instructions"
            }
          },
          {
            "name": "review-branch",
            "description": "Review changes relative to a base branch.",
            "input": {
              "hint": "branch name"
            }
          },
          {
            "name": "review-commit",
            "description": "Review a specific commit.",
            "input": {
              "hint": "commit sha"
            }
          },
          {
            "name": "compact",
            "description": "Summarize conversation to avoid hitting the context limit.",
            "input": null
          },
          {
            "name": "goal",
            "description": "Set a goal to keep pursuing.",
            "input": {
              "hint": "[<objective>|clear|pause|resume]"
            },
            "_meta": {
              "commandAction": {
                "kind": "prefixPrompt",
                "presentation": "state"
              }
            }
          },
          {
            "name": "logout",
            "description": "Sign out of Codex. This option is available when you are logged in via ChatGPT.",
            "input": null
          },
          {
            "name": "$build",
            "description": "Build",
            "input": null
          }
        ]
      }
    }
  ]
}