switch_profile
Switch the active identity profile. Atomic updates invalidate cached clients and sync across MCP processes.
Instructions
[Plugin v1.3.9] Switch the active identity profile. Atomically writes credentials.json::active; cached clients in this process are invalidated; cross-process MCPs (Codex / another Claude Code) auto-sync via dispatcher mtime check on next tool call (~10μs). To add a new profile, run npx feishu-user-plugin setup --profile <name> --app-id ... --app-secret ... --cookie ... then npx feishu-user-plugin oauth --profile <name> for UAT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Profile name. Use "default" for the primary profile; other names come from credentials.json or LARK_PROFILES_JSON. |