Create code blocks
create_code_blocksAdd syntax-highlighted code blocks to FigJam boards to display code snippets, schemas, or configs next to diagrams for clear explanations.
Instructions
Add syntax-highlighted code blocks. Useful for putting a snippet, schema or config next to the diagram that explains it.
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": {
"items": "<items>"
},
"name": "create_code_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes |