Brain Admin
brain_adminBrain admin operations. Pass action: "lint" | "link" | "promote" | "rebuild_index" | "team_sleep". team_sleep enables/disables/runs the nightly team consolidation cycle — pass sub_action "enable" (with optional timezone), "disable", "status", or "run_now". Team admin role required for team_sleep actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Human-readable relationship label (for link). | |
| action | Yes | Admin operation to perform. | |
| page_id | No | Source brain page ID (for link/promote). | |
| team_id | No | Team to promote to (for promote). Auto-resolved if on one team. | |
| timezone | No | IANA timezone for team_sleep enable (e.g. "Europe/London"). Defaults to UTC. Sleep fires at 3 AM local time. | |
| sub_action | No | Required for action="team_sleep". "enable" turns on nightly sleep for the team; "disable" turns it off; "status" shows last run and schedule; "run_now" triggers an immediate sleep cycle. | |
| to_page_id | No | Target page ID (for link). | |
| relationship | No | Relationship type (for link, e.g. relates_to, derived_from). |