add_atc_rule
Create rules to route saved links to specific spaces or open matching URLs in designated browsers and profiles.
Instructions
Create a new Air Traffic Control rule. Save rules route saved links to a specific space. Open rules open matching URLs in a specific browser/profile. Use list_browser_profiles to get profile IDs and list_spaces to get space IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable name for the rule. | |
| isEnabled | No | Whether rule is active. Defaults to true. | |
| matchType | No | How to match. 'contains' (default): URL contains pattern. 'equals': exact match. | |
| routeType | Yes | 'save': route saved links to a space. 'open': open matching URLs in a specific browser/profile. | |
| urlPattern | No | URL pattern to match (e.g. 'x.com', 'github.com'). Omit to match all URLs (only valid with sourceBrowser or sourceSpaceID). | |
| openInBrowser | No | [Open rules] Browser to open URLs in (e.g. 'Chrome', 'Safari', 'Arc'). | |
| sourceBrowser | No | [Save rules] Only trigger when saving from this browser (e.g. 'Arc', 'Chrome'). | |
| sourceSpaceID | No | [Open rules] Only trigger in this space. Get IDs from list_spaces. | |
| targetSpaceID | No | [Save rules] Space ID to route saved links into. Get IDs from list_spaces. | |
| openInProfileID | No | [Open rules] Browser profile ID. Get IDs from list_browser_profiles. |