Call raw Figma REST API
figma.rest_requestExecute official Figma REST API calls by specifying operationId or method/path, using stored OAuth tokens.
Instructions
Call any official Figma REST API operation by operationId or raw method/path using stored OAuth tokens.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma.rest_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | No | ||
| query | No | ||
| method | No | ||
| userId | No | ||
| headers | No | ||
| pathParams | No | ||
| operationId | No |