CodePanel
get_account_mode

get_account_mode

The CodePanel MCP tool that reads the account's current permission mode (ask, auto, autopilot, or full_access).

On this page›

get_account_mode reads the account's current permission mode (ask, auto, autopilot, or full_access) and whether it is the default or explicitly set by the owner. It needs the read scope.

When to call it

  • Before starting or troubleshooting work, to see which approval mode is currently active on the account.

Inputs

Input Type Required Description

It only reads: the server marks it readOnlyHint: true, so clients that ask before a write can run it without asking.

What it returns

mode (ask, auto, autopilot, or full_access) and source (default until set by the owner, set afterwards).

The same step without MCP

Surface Form
HTTP API GET /autopilot/mode with the read scope
CLI codepanel autopilot mode
Desktop app The permission mode switcher in the /app title bar

What the server tells your agent

The description your agent reads when it lists the tools:

Use it to read the account's current permission mode (ask, auto, autopilot, or full_access) and whether it is the default or explicitly set by the owner. Needs the read scope. Returns { mode, source }.

Last updated