Skip to content

Apps actions

4 actions. Each action calls the same API route with the same scopes on every surface.

Get app surface settings.

Route GET /api/v1/apps/surfaces
Tool name calternal_api_app_surfaces_get
Surfaces cli, mcp, webmcp
Scopes account
Effect read only
Encoding request none, response json
Terminal window
calternal action run app_surfaces_get --input '{}' --json

Update app surface settings. Body fields: enabled, surface..

Route PUT /api/v1/apps/surfaces
Tool name calternal_api_app_surfaces_put
Surfaces cli, mcp, webmcp
Scopes account
Effect destructive, needs --confirm
Encoding request json, response json

body

Field Type Required Description
enabled boolean yes
surface "notes" | "api" | "cli" | "mcp" | "mcp_events" | "webmcp" yes These gates protect external automation credentials. Browser sessions remain usable so a User can always restore their own access in Settings.
Terminal window
calternal action run app_surfaces_put --input '{}' --confirm --json

Revoke an App event subscription.

Route DELETE /api/v1/apps/events/subscriptions/{id}
Tool name calternal_api_mcp_event_revoke
Surfaces cli, mcp, webmcp
Scopes account
Effect destructive, needs --confirm
Encoding request none, response json

path

Field Type Required Description
id string yes
Terminal window
calternal action run mcp_event_revoke --input '{"path":{"id":"<id>"}}' --confirm --json

List App event subscriptions.

Route GET /api/v1/apps/events/subscriptions
Tool name calternal_api_mcp_event_subscriptions
Surfaces cli, mcp, webmcp
Scopes account
Effect read only
Encoding request none, response json
Terminal window
calternal action run mcp_event_subscriptions --input '{}' --json