Subscribe to events
subscribe_eventsStart pushing Figma selection and document change events to the bridge so they can be read from the event log with get_events.
Instructions
Start pushing Figma events (selectionchange, documentchange) to the bridge. They land in the event log read via get_events.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"events": "<events>"
},
"name": "subscribe_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes |