figma_get_console_logs
Retrieve console logs from Figma Desktop to debug plugin output, filtering recent entries by log level, count, or timestamp.
Instructions
Retrieve console logs from Figma Desktop. FOR PLUGIN DEVELOPERS: This works immediately - no navigation needed! Just check logs, run your plugin in Figma Desktop, check logs again. All plugin logs ([Main], [Swapper], etc.) appear instantly.
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) |