Claude Code auth status
claude_auth_statusCheck whether the local Claude Code CLI is signed in; if not, report that login is required before running Claude Code sessions. Returns CLI_NOT_FOUND when the CLI is missing.
Instructions
Report whether the local Claude Code CLI is signed in, via claude auth status. If it is not, sign in with claude first (run it once in a terminal and complete the claude.ai login). A missing CLI returns CLI_NOT_FOUND with the install command (npm install -g @anthropic-ai/claude-code).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "claude_auth_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cli | Yes | CLI output with terminal control sequences removed. | |
| Yes | |||
| orgName | Yes | ||
| loggedIn | Yes | ||
| authMethod | Yes | ||
| subscriptionType | Yes |