create_session
Creates a local task recording UUID tied to the selected Figma file so you can reuse it across subsequent calls without starting a cloud session or switching documents.
Instructions
Create a local task recording UUID for the selected Figma file. Reuse it across calls, including explicitly selected other files. This does not create a cloud session or switch documents.
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": {
"fileKey": "<fileKey>",
"description": "<description>"
},
"name": "create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileKey | Yes | Must match the selected document fileKey from figma_status. Local-only documents use local:<connectionId>. | |
| sessionId | No | Task UUID returned by create_session; scoped to this DSH Work session. | |
| description | Yes |