# Connect your GitHub accountcomposio connected-accounts link github# Search for toolscomposio tools search "star a github repo"# Look up a tool's input schemacomposio tools info GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER# Execute a tool (star the Composio repo!)composio tools execute GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER -d '{"owner":"composiohq","repo":"composio"}'
# Find your connected account IDcomposio connected-accounts list --toolkits github# Create a trigger for star events on your repocomposio triggers create GITHUB_STAR_ADDED_EVENT --connected-account-id your-connected-account-id --trigger-config '{"owner":"your-username","repo":"your-repo"}'# Listen to all GitHub trigger events on your account in real timecomposio triggers listen --toolkits github --table
Generate TypeScript or Python type definitions for Composio tools. These types provide autocomplete and type safety when using direct tool execution (composio.tools.execute()).
composio generate
The CLI auto-detects your project language. For explicit control, use composio ts generate or composio py generate.