30 lines
633 B
Markdown
30 lines
633 B
Markdown
---
|
|
name: "agentmail-auth"
|
|
description: "AgentMail: Operations on auth"
|
|
---
|
|
|
|
# auth
|
|
|
|
> **PREREQUISITE:** Read `../agentmail-shared/SKILL.md` for auth, global flags, and output formatting. If missing, run `agentmail generate-skills` to create it.
|
|
|
|
```bash
|
|
agentmail auth <method> [flags]
|
|
```
|
|
|
|
## API Resources
|
|
|
|
- `me` — Who Am I
|
|
## Discovering Commands
|
|
|
|
**Agents: always prefer `--schema` over `--help`** — `--schema` returns JSON; `--help` returns human prose.
|
|
|
|
```bash
|
|
# Machine-readable surface (use this)
|
|
agentmail auth --schema
|
|
agentmail auth <method> --schema
|
|
|
|
# Human-readable help (for humans)
|
|
agentmail auth --help
|
|
```
|
|
|