Skip to content
Developer Preview — APIs and language features may change before 1.0

shortcut

shortcut

Surface: expose as an Apple Shortcuts action (the Shortcuts-app sense, not a keyboard shortcut)

Children

Translations

  • es: atajo
  • fr: raccourci
  • en: shortcut
  • de: Kurzbefehl
  • ja: ショートカット
  • zh: 快捷方式
  • ko: 단축어단축키

Example — Reaching the outside world

One machine reachable many ways: a web address, notifications, an AI-tool connection, a phone shortcut, a widget — with access rules on each.

machine status_board
accepts
question as text
responds with
status as text
expresses
api
path: "/status"
method: "GET"
available to: team
requires auth: oauth
rate limit: 100
webhook
path: "/hooks/status"
websocket
path: "/ws/status"
mcp
name: "status_tool"
a2a
name: "status_agent"
page
view
theme: "light"
command refresh
shortcut phrases: ["Check status"]
widget
kind: "small"
subscribes
on "status.changed"
compute bump
{status: "changed"}
implements
compute answer
{status: "ok"}