figma_get_console_logs
Debug Figma plugin code by retrieving console logs captured from figma_execute and other write tools, plus Desktop Bridge plugin output.
Instructions
Retrieve console logs captured by the Desktop Bridge plugin: console output from code run through it (figma_execute and the other write tools) and from the bridge itself. It does NOT capture another plugin's console — Figma runs one plugin at a time in a file, each in its own sandbox, so the bridge cannot see a plugin you are developing. To debug your own plugin's logic, run that code through figma_execute and read the logs here, or use Figma's own developer console for the plugin.
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_get_console_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of recent logs to retrieve | |
| level | No | Filter by log level | all |
| since | No | Only logs after this timestamp (Unix ms) |