figjam_create_code_block
Create a code block on a FigJam board to share code snippets, config examples, or technical documentation in collaborative boards.
Instructions
Create a code block on a FigJam board. Use for sharing code snippets, config examples, or technical documentation in collaborative boards.
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": {
"code": "<code>"
},
"name": "figjam_create_code_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X position on canvas | |
| y | No | Y position on canvas | |
| code | Yes | The code content | |
| language | No | Programming language (e.g., 'JAVASCRIPT', 'PYTHON', 'TYPESCRIPT', 'JSON', 'HTML', 'CSS') |