get_text_content
Extract all text content from a Figma .fig file, optionally limiting scope to a specific node path. Useful for retrieving design text without network access.
Instructions
Extract all text content from the document or a specific node path.
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": {
"filePath": "<filePath>"
},
"name": "get_text_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .fig file | |
| nodePath | No | Optional path to limit text extraction scope |