179
tagged({ name: 'login', description: 'Log in to Composio' }),
180
tagged({ name: 'logout', description: 'Log out from Composio' }),
181
tagged({ name: 'whoami', description: 'Show current account info' }),
182
- tagged({ name: 'orgs', description: 'Manage current organization context (list, switch)' }),
182
+ tagged({ name: 'orgs', description: 'Manage default global organization/project context.' }),
183
tagged({ name: 'version', description: 'Display CLI version' }),
184
tagged({ name: 'upgrade', description: 'Upgrade CLI to the latest version' }),
185
tagged({ name: 'config', description: 'View and manage CLI configuration' }),
587
'composio connections list --toolkit <toolkit> List account selectors',
588
],
589
},
590
+ connections: {
591
+ usage: 'composio connections <subcommand>',
592
+ description: 'View and manage Composio connected accounts.',
593
+ seeAlso: ['composio connections list', 'composio connections remove'],
594
+ },
595
'connections list': {
596
usage: 'composio connections list [--toolkit <text>]',
597
description:
863
864
// ── Account commands ──────────────────────────────────────────────────
865
866
+ agent: {
867
+ usage: 'composio agent <subcommand>',
868
+ description: 'Manage Composio agent identity, inbox, and handoff.',
869
+ seeAlso: [
870
+ 'composio agent signup',
871
+ 'composio agent login',
872
+ 'composio agent whoami',
873
+ 'composio agent inbox',
874
+ 'composio agent claim',
875
+ ],
876
+ },
877
+ signup: {
878
+ usage: 'composio signup [-f, --force] [--no-wait] [--no-login]',
879
+ description: 'Sign up and optionally log in as a Composio agent.',
880
+ options: [
881
+ {
882
+ name: '-f, --force',
883
+ description: 'Create a new agent identity even if ~/.composio/agent.json already exists',
884
+ },
885
+ {
886
+ name: '--no-wait',
887
+ description: 'Start agent signup and exit without waiting for credentials',
888
+ },
889
+ {
890
+ name: '--no-login',
891
+ description: 'Create or verify the agent identity without logging the CLI in',
892
+ },
893
+ ],
894
+ },
895
login: {
896
usage:
897
'composio login [--no-browser] [--poll] [--no-wait] [--key text] [--user-api-key text] [--org text] [-y, --yes] [--no-skill-install]',
933
usage: 'composio whoami',
934
description: 'Display your account information.',
935
},
936
+ orgs: {
937
+ usage: 'composio orgs <subcommand>',
938
+ description: 'Manage default global organization/project context.',
939
+ seeAlso: ['composio orgs list', 'composio orgs switch'],
940
+ },
941
+ 'orgs list': {
942
+ usage: 'composio orgs list [--limit integer]',
943
+ description: 'List organizations and show current global selection.',
944
+ options: [
945
+ {
946
+ name: '--limit <integer>',
947
+ description: 'Max organizations to fetch from API (default: 50)',
948
+ },
949
+ ],
950
+ },
951
+ 'orgs switch': {
952
+ usage: 'composio orgs switch [--org-id text] [--limit integer]',
953
+ description: 'Switch current organization context.',
954
+ options: [
955
+ { name: '--org-id <text>', description: 'Organization ID to use as global default' },
956
+ {
957
+ name: '--limit <integer>',
958
+ description: 'Max orgs to fetch from API (default: 50)',
959
+ },
960
+ ],
961
+ },
962
setup: {
963
usage: 'composio setup [--target auto|claude|codex|all] [--uninstall] [--yes] [--if-present]',
964
description: 'Install or uninstall plugins for supported agent hosts.',
1023
],
1024
},
1025
966
- // ── Tools commands ────────────────────────────────────────────────────
1026
+ artifacts: {
1027
+ usage: 'composio artifacts <subcommand>',
1028
+ description: 'Inspect session artifact directories.',
1029
+ seeAlso: ['composio artifacts cwd'],
1030
+ },
1031
+ 'artifacts cwd': {
1032
+ usage: 'composio artifacts cwd',
1033
+ description: 'Print the cwd-scoped session artifact directory.',
1034
+ },
1035
+ install: {
1036
+ usage: 'composio install [--completions] [--no-completions] [--shell text]',
1037
+ description:
1038
+ 'Set up shell integration (PATH and completions). Set COMPOSIO_BIN_DIR to choose the directory added to PATH; it otherwise defaults to ~/.local/bin when that holds this executable, and to the directory of the running binary.',
1039
+ },
1040
+
1041
+ // ── Tools commands ──────────────────────────────────────────────────────
1042
1043
tools: {
1044
usage: 'composio tools <command>',
1065
'View a brief summary of a tool and show the CLI-facing schema used by `composio execute --get-schema`.',
1066
args: [{ name: '<slug>', description: 'Tool slug (e.g. "GMAIL_SEND_EMAIL")' }],
1067
},
1068
+ triggers: {
1069
+ usage: 'composio triggers <subcommand>',
1070
+ description: 'Inspect and subscribe to trigger events.',
1071
+ seeAlso: ['composio triggers list', 'composio triggers info'],
1072
+ },
1073
'triggers list': {
1074
usage: 'composio triggers list <toolkit> [--limit integer]',
1075
description: 'List available trigger types for a toolkit.',