import { ApiTool, figmaRequest } from "../../../lib/tools.ts"; const executeFunction = async ({ file_key }: any) => { return figmaRequest(`/v1/files/${file_key}/variables/local`); }; const apiTool: ApiTool = { function: executeFunction, definition: { type: 'function', function: { name: 'list_file_variables', description: 'List variables for a specific Figma file.', parameters: { type: 'object', properties: { file_key: { type: 'string', description: 'The key of the Figma file for which to list variables.' } }, required: ['file_key'] } } } }; export { apiTool };