Connect to Brandcode Studio
brand_brandcode_connectConnect a local .brand directory to Brandcode Studio to pull a hosted brand by URL/slug or save and share the local brand with your team.
Instructions
Connect a local .brand/ to Brandcode Studio. Two modes: "pull" (default) downloads an existing hosted brand by URL/slug. "save" uploads the local .brand/ to Studio (requires prior auth via brand_brandcode_auth). THE tool when the user says "make our brand available to my whole team", "share our brand with the team", "connect to Brandcode", "pull from Studio", "save brand to Studio", or "upload my brand". Returns brand name, slug, sync token, and connection details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Brandcode Studio brand URL or slug. Required for mode="pull". Examples: "https://brandcode.studio/start/brands/pendium", "pendium" | |
| mode | No | "pull" connects to an existing hosted brand and downloads it. "save" uploads the local .brand/ to Studio (requires auth via brand_brandcode_auth). | pull |
| share_token | No | Share token for protected brands (x-brand-share-token) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _metadata | Yes |