---
title: "Figma"
description: "Read Figma files, nodes, versions, comments, images, components and supported team resources; create comments and manage permitted resources through the official REST API. Personal access tokens use the native X-Figma-To"
---

> Documentation Index
> Fetch the complete documentation index at: https://help.tooluse.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Figma

<p>Read Figma files, nodes, versions, comments, images, components and supported team resources; create comments and manage permitted resources through the official REST API. Personal access tokens use the native X-Figma-Token header and retain their configured scopes and expiry. Image-export results remain URLs, with no automatic downloads. Enterprise and administrator APIs require the appropriate plan and role; file editing through the Figma plugin API is outside this REST integration.</p>

<details data-command-index><summary>What you can do (54)</summary>
<h2>What you can do</h2>
<p>Available commands: 54 (39 read, 15 write). Enable only the commands your application needs.</p>
<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Command</th>
<th>Effect</th>
</tr>
</thead>
<tbody><tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfile">Get file JSON</a> — <code>figma.getfile</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfilenodes">Get file JSON for specific nodes</a> — <code>figma.getfilenodes</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getimages">Render images of file nodes</a> — <code>figma.getimages</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getimagefills">Get image fills</a> — <code>figma.getimagefills</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfilemeta">Get file metadata</a> — <code>figma.getfilemeta</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postfileduplicate">Duplicate a file</a> — <code>figma.postfileduplicate</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postteam">Create a team</a> — <code>figma.postteam</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getteam">Get a team</a> — <code>figma.getteam</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postteaminvites">Invite users to a team</a> — <code>figma.postteaminvites</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postteamfolder">Create a folder</a> — <code>figma.postteamfolder</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getteamfolders">Get top-level folders in a team</a> — <code>figma.getteamfolders</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfolderfolders">Get subfolders in a folder</a> — <code>figma.getfolderfolders</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfolderfiles">Get files in a folder</a> — <code>figma.getfolderfiles</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfoldermeta">Get folder metadata</a> — <code>figma.getfoldermeta</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfileversions">Get versions of a file</a> — <code>figma.getfileversions</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getcomments">Get comments in a file</a> — <code>figma.getcomments</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postcomment">Add a comment to a file</a> — <code>figma.postcomment</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-deletecomment">Delete a comment</a> — <code>figma.deletecomment</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getcommentreactions">Get reactions for a comment</a> — <code>figma.getcommentreactions</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postcommentreaction">Add a reaction to a comment</a> — <code>figma.postcommentreaction</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-deletecommentreaction">Delete a reaction</a> — <code>figma.deletecommentreaction</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getme">Get current user</a> — <code>figma.getme</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getteamcomponents">Get team components</a> — <code>figma.getteamcomponents</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfilecomponents">Get file components</a> — <code>figma.getfilecomponents</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getcomponent">Get component</a> — <code>figma.getcomponent</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getteamcomponentsets">Get team component sets</a> — <code>figma.getteamcomponentsets</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfilecomponentsets">Get file component sets</a> — <code>figma.getfilecomponentsets</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getcomponentset">Get component set</a> — <code>figma.getcomponentset</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getteamstyles">Get team styles</a> — <code>figma.getteamstyles</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getfilestyles">Get file styles</a> — <code>figma.getfilestyles</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getstyle">Get style</a> — <code>figma.getstyle</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getwebhooks">Get webhooks by context or plan</a> — <code>figma.getwebhooks</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postwebhook">Create a webhook</a> — <code>figma.postwebhook</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getwebhook">Get a webhook</a> — <code>figma.getwebhook</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-putwebhook">Update a webhook</a> — <code>figma.putwebhook</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-deletewebhook">Delete a webhook</a> — <code>figma.deletewebhook</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getwebhookrequests">Get webhook requests</a> — <code>figma.getwebhookrequests</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getactivitylogs">Get activity logs</a> — <code>figma.getactivitylogs</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getdeveloperlogs">Get developer logs</a> — <code>figma.getdeveloperlogs</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getaiusagedaily">Get daily AI credit usage</a> — <code>figma.getaiusagedaily</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getpayments">Get payments</a> — <code>figma.getpayments</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlocalvariables">Get local variables</a> — <code>figma.getlocalvariables</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getpublishedvariables">Get published variables</a> — <code>figma.getpublishedvariables</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getdevresources">Get dev resources</a> — <code>figma.getdevresources</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-postdevresources">Create dev resources</a> — <code>figma.postdevresources</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-putdevresources">Update dev resources</a> — <code>figma.putdevresources</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-deletedevresource">Delete dev resource</a> — <code>figma.deletedevresource</code></td>
<td>Write</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlibraryanalyticscomponentactions">Get library analytics component action data.</a> — <code>figma.getlibraryanalyticscomponentactions</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlibraryanalyticscomponentusages">Get library analytics component usage data.</a> — <code>figma.getlibraryanalyticscomponentusages</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlibraryanalyticsstyleactions">Get library analytics style action data.</a> — <code>figma.getlibraryanalyticsstyleactions</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlibraryanalyticsstyleusages">Get library analytics style usage data.</a> — <code>figma.getlibraryanalyticsstyleusages</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlibraryanalyticsvariableactions">Get library analytics variable action data.</a> — <code>figma.getlibraryanalyticsvariableactions</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getlibraryanalyticsvariableusages">Get library analytics variable usage data.</a> — <code>figma.getlibraryanalyticsvariableusages</code></td>
<td>Read</td>
</tr>
<tr>
<td><a href="https://help.tooluse.net/integrations/figma#command-figma-getoembed">Get oEmbed data</a> — <code>figma.getoembed</code></td>
<td>Read</td>
</tr>
</tbody></table>
</div>
</details>
<h2>Connect and use</h2>

<p><a href="https://www.tooluse.net/tools/integrations/figma">Connect and use</a></p>
<p>Open the integration&#39;s connection form to check the available credential source. The source has not been resolved for this documentation export. The instructions below apply when using your own provider account.</p>
<h2>Get your provider credentials</h2>
<p>Follow these steps for Figma, then enter the issued values in the connection form below.</p>
<ol>
<li>In Figma account settings, create a personal access token, choose the necessary scopes and expiry, and copy it once. Paste it into this connection’s Figma personal access token field. Start with getme and grant only needed file, comment or team commands. Use native file keys and node IDs; image export returns URLs without downloading them. Enterprise and administration commands require the appropriate plan and role. This REST connection does not edit files through the plugin API. Save selected commands, then create a separate scoped Tooluse.net API key for your AI client; keep the Figma token out of the MCP URL.</li>
</ol>
<p><a href="https://developers.figma.com/docs/rest-api/authentication/">Official credential setup</a></p>
<h2>Where to enter credentials</h2>
<p>In the integration page, sign in, choose your workspace and open Connect. If a <strong>Credentials</strong> choice is shown, select <strong>Use my credentials</strong>. Fill the following connection fields and save. Provider credentials belong in this form, never in an MCP configuration or tool input.</p>
<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Connection field</th>
<th>Requirement</th>
</tr>
</thead>
<tbody><tr>
<td>Figma personal access token</td>
<td>Required</td>
</tr>
</tbody></table>
</div><p>Open API keys and create a Tooluse.net key for the enabled commands.</p>
<p>Set TOOLUSE_API_KEY in your client and use the shared MCP configuration.</p>
<p><a href="https://help.tooluse.net/clients">Configure Claude Code, Codex or Cursor once</a></p>

<h2>Permissions and results</h2>

<p>If you have more than one workspace, check the selected workspace in the connection or API-key dialog before saving. Roles, enabled commands, expiry and revocation use Tooluse.net&#39;s existing permissions. Disabling a connection or revoking a key immediately prevents new calls.</p>

<p>Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.</p>

<p>Your connection&#39;s daily allowance and key permissions also apply. Adding a connection does not make a provider request.</p>

<p>Calls return the shared execution receipt and a Claude tool_result. Provider output varies by operation; consult the provider documentation for its response fields. Unconfirmed calls should be checked before retrying.</p>

<h2>Call from your client</h2>

<p>Use the shared MCP configuration. Refresh your client&#39;s tool list after saving the connection or changing key permissions, then call the returned tool name with the example input below.</p>

<p><a href="https://help.tooluse.net/clients">Configure Claude Code, Codex or Cursor once</a></p>

<h2>Discover your enabled tools</h2>

<p>List permitted tools in Claude format. Read every page using page and size (maximum 100) until all results have been received. Use the returned name, not a catalog capability identifier, in the tool_use block.</p>

<pre><code class="language-bash">curl 'https://api.tooluse.net/v1/tools' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY"
</code></pre>

<p>Find this command in the tool list permitted by your key. Replace svc_FROM_YOUR_TOOL_LIST with its returned name. Use a new Idempotency-Key for each new call and retain it when retrying that same call.</p>

<h2>HTTP call</h2>

<pre><code class="language-bash">curl 'https://api.tooluse.net/v1/tool-calls' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: replace-with-a-new-call-id' \
  --data '{
  "type": "tool_use",
  "id": "toolu_example",
  "name": "svc_FROM_YOUR_TOOL_LIST",
  "input": {
    "path": {
      "file_key": "example"
    }
  }
}'
</code></pre>

<p>Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.</p>

<h2>Commands</h2>

<details id="command-figma-getfile">
<summary><span>Get file JSON — <code>figma.<wbr>getfile</code></span></summary>
<p>Run <strong>Get file JSON</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfile">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to export JSON from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.version</code></td>
<td>string</td>
<td>Optional</td>
<td>A specific version ID to get. Omitting this will get the current version of the file.</td>
<td></td>
</tr>
<tr>
<td><code>query.ids</code></td>
<td>string</td>
<td>Optional</td>
<td>Comma separated list of nodes that you care about in the document. If specified, only a subset of the document will be returned corresponding to the nodes listed, their children, and everything between the root node and the listed nodes.  Note: There may be other nodes included in the returned JSON that are outside the ancestor chains of the desired nodes. The response may also include dependencies of anything in the nodes&#39; subtrees. For example, if a node subtree contains an instance of a local component that lives elsewhere in that file, that component and its ancestor chain will also be included.  For historical reasons, top-level canvas nodes are always returned, regardless of whether they are listed in the <code>ids</code> parameter. This quirk may be removed in a future version of the API.</td>
<td></td>
</tr>
<tr>
<td><code>query.depth</code></td>
<td>number</td>
<td>Optional</td>
<td>Positive integer representing how deep into the document tree to traverse. For example, setting this to 1 returns only Pages, setting it to 2 returns Pages and all top level objects on each page. Not setting this parameter returns all nodes.</td>
<td></td>
</tr>
<tr>
<td><code>query.geometry</code></td>
<td>string</td>
<td>Optional</td>
<td>Set to &quot;paths&quot; to export vector data.</td>
<td></td>
</tr>
<tr>
<td><code>query.plugin_data</code></td>
<td>string</td>
<td>Optional</td>
<td>A comma separated list of plugin IDs and/or the string &quot;shared&quot;. Any data present in the document written by those plugins will be included in the result in the <code>pluginData</code> and <code>sharedPluginData</code> properties.</td>
<td></td>
</tr>
<tr>
<td><code>query.branch_data</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns branch metadata for the requested file. If the file is a branch, the main file&#39;s key will be included in the returned response. If the file has branches, their metadata will be included in the returned response. Default: false.</td>
<td><code>default: false</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfile">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfilenodes">
<summary><span>Get file JSON for specific nodes — <code>figma.<wbr>getfilenodes</code></span></summary>
<p>Run <strong>Get file JSON for specific nodes</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfilenodes">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to export JSON from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.ids</code></td>
<td>string</td>
<td>Required</td>
<td>A comma separated list of node IDs to retrieve and convert.</td>
<td></td>
</tr>
<tr>
<td><code>query.version</code></td>
<td>string</td>
<td>Optional</td>
<td>A specific version ID to get. Omitting this will get the current version of the file.</td>
<td></td>
</tr>
<tr>
<td><code>query.depth</code></td>
<td>number</td>
<td>Optional</td>
<td>Positive integer representing how deep into the node tree to traverse. For example, setting this to 1 will return only the children directly underneath the desired nodes. Not setting this parameter returns all nodes.  Note: this parameter behaves differently from the same parameter in the <code>GET /v1/files/:key</code> endpoint. In this endpoint, the depth will be counted starting from the desired node rather than the document root node.</td>
<td></td>
</tr>
<tr>
<td><code>query.geometry</code></td>
<td>string</td>
<td>Optional</td>
<td>Set to &quot;paths&quot; to export vector data.</td>
<td></td>
</tr>
<tr>
<td><code>query.plugin_data</code></td>
<td>string</td>
<td>Optional</td>
<td>A comma separated list of plugin IDs and/or the string &quot;shared&quot;. Any data present in the document written by those plugins will be included in the result in the <code>pluginData</code> and <code>sharedPluginData</code> properties.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfilenodes">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "ids": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getimages">
<summary><span>Render images of file nodes — <code>figma.<wbr>getimages</code></span></summary>
<p>Run <strong>Render images of file nodes</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getimages">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to export images from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.ids</code></td>
<td>string</td>
<td>Required</td>
<td>A comma separated list of node IDs to render.</td>
<td></td>
</tr>
<tr>
<td><code>query.version</code></td>
<td>string</td>
<td>Optional</td>
<td>A specific version ID to get. Omitting this will get the current version of the file.</td>
<td></td>
</tr>
<tr>
<td><code>query.scale</code></td>
<td>number</td>
<td>Optional</td>
<td>A number between 0.01 and 4, the image scaling factor.</td>
<td><code>minimum: 0.01; maximum: 4</code></td>
</tr>
<tr>
<td><code>query.format</code></td>
<td>string</td>
<td>Optional</td>
<td>A string enum for the image output format.</td>
<td><code>enum: [&quot;jpg&quot;,&quot;png&quot;,&quot;svg&quot;,&quot;pdf&quot;]; default: &quot;png&quot;</code></td>
</tr>
<tr>
<td><code>query.svg_outline_text</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Whether text elements are rendered as outlines (vector paths) or as <code>&amp;lt;text&amp;gt;</code> elements in SVGs.  Rendering text elements as outlines guarantees that the text looks exactly the same in the SVG as it does in the browser/inside Figma.  Exporting as <code>&amp;lt;text&amp;gt;</code> allows text to be selectable inside SVGs and generally makes the SVG easier to read. However, this relies on the browser&#39;s rendering engine which can vary between browsers and/or operating systems. As such, visual accuracy is not guaranteed as the result could look different than in Figma.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.svg_include_id</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Whether to include id attributes for all SVG elements. Adds the layer name to the <code>id</code> attribute of an svg element.</td>
<td><code>default: false</code></td>
</tr>
<tr>
<td><code>query.svg_include_node_id</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Whether to include node id attributes for all SVG elements. Adds the node id to a <code>data-node-id</code> attribute of an svg element.</td>
<td><code>default: false</code></td>
</tr>
<tr>
<td><code>query.svg_simplify_stroke</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Whether to simplify inside/outside strokes and use stroke attribute if possible instead of <code>&amp;lt;mask&amp;gt;</code>.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.contents_only</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Whether content that overlaps the node should be excluded from rendering. Passing false (i.e., rendering overlaps) may increase processing time, since more of the document must be included in rendering.</td>
<td><code>default: true</code></td>
</tr>
<tr>
<td><code>query.use_absolute_bounds</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Use the full dimensions of the node regardless of whether or not it is cropped or the space around it is empty. Use this to export text nodes without cropping.</td>
<td><code>default: false</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getimages">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "ids": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getimagefills">
<summary><span>Get image fills — <code>figma.<wbr>getimagefills</code></span></summary>
<p>Run <strong>Get image fills</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getimagefills">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get image URLs from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getimagefills">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfilemeta">
<summary><span>Get file metadata — <code>figma.<wbr>getfilemeta</code></span></summary>
<p>Run <strong>Get file metadata</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfilemeta">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get metadata for. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfilemeta">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postfileduplicate">
<summary><span>Duplicate a file — <code>figma.<wbr>postfileduplicate</code></span></summary>
<p>Run <strong>Duplicate a file</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postfileduplicate">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>The key of the main file or branch to duplicate.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.folder_id</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the folder to create the duplicated file in.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postfileduplicate">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "body": {
    "folder_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postteam">
<summary><span>Create a team — <code>figma.<wbr>postteam</code></span></summary>
<p>Run <strong>Create a team</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postteam">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/CreateTeamRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postteam">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "body": {
    "name": "example",
    "sharing_audience_control": "org_view"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getteam">
<summary><span>Get a team — <code>figma.<wbr>getteam</code></span></summary>
<p>Run <strong>Get a team</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getteam">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the team.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getteam">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postteaminvites">
<summary><span>Invite users to a team — <code>figma.<wbr>postteaminvites</code></span></summary>
<p>Run <strong>Invite users to a team</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postteaminvites">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the team to invite users to.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/InviteTeamMembersRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postteaminvites">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  },
  "body": {
    "emails": [
      "developer@example.com"
    ],
    "role": "viewer"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postteamfolder">
<summary><span>Create a folder — <code>figma.<wbr>postteamfolder</code></span></summary>
<p>Run <strong>Create a folder</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postteamfolder">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>The ID of the team in which to create the folder.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/CreateFolderRequest&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postteamfolder">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  },
  "body": {
    "name": "example",
    "sharing_audience_control": "plan_view"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getteamfolders">
<summary><span>Get top-level folders in a team — <code>figma.<wbr>getteamfolders</code></span></summary>
<p>Run <strong>Get top-level folders in a team</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getteamfolders">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of the team to list folders from</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getteamfolders">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfolderfolders">
<summary><span>Get subfolders in a folder — <code>figma.<wbr>getfolderfolders</code></span></summary>
<p>Run <strong>Get subfolders in a folder</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfolderfolders">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.folder_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of the parent folder to list subfolders from</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfolderfolders">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "folder_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfolderfiles">
<summary><span>Get files in a folder — <code>figma.<wbr>getfolderfiles</code></span></summary>
<p>Run <strong>Get files in a folder</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfolderfiles">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.folder_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of the folder to list files from</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.branch_data</code></td>
<td>boolean</td>
<td>Optional</td>
<td>Returns branch metadata in the response for each main file with a branch inside the folder.</td>
<td><code>default: false</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfolderfiles">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "folder_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfoldermeta">
<summary><span>Get folder metadata — <code>figma.<wbr>getfoldermeta</code></span></summary>
<p>Run <strong>Get folder metadata</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfoldermeta">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.folder_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of the folder to get metadata for</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfoldermeta">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "folder_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfileversions">
<summary><span>Get versions of a file — <code>figma.<wbr>getfileversions</code></span></summary>
<p>Run <strong>Get versions of a file</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfileversions">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get version history from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.page_size</code></td>
<td>number</td>
<td>Optional</td>
<td>The number of items returned in a page of the response. If not included, <code>page_size</code> is <code>30</code>.</td>
<td><code>maximum: 50</code></td>
</tr>
<tr>
<td><code>query.before</code></td>
<td>number</td>
<td>Optional</td>
<td>A version ID for one of the versions in the history. Gets versions before this ID. Used for paginating. If the response is not paginated, this link returns the same data in the current response.</td>
<td></td>
</tr>
<tr>
<td><code>query.after</code></td>
<td>number</td>
<td>Optional</td>
<td>A version ID for one of the versions in the history. Gets versions after this ID. Used for paginating. If the response is not paginated, this property is not included.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfileversions">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getcomments">
<summary><span>Get comments in a file — <code>figma.<wbr>getcomments</code></span></summary>
<p>Run <strong>Get comments in a file</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getcomments">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get comments from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.as_md</code></td>
<td>boolean</td>
<td>Optional</td>
<td>If enabled, will return comments as their markdown equivalents when applicable.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getcomments">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postcomment">
<summary><span>Add a comment to a file — <code>figma.<wbr>postcomment</code></span></summary>
<p>Run <strong>Add a comment to a file</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postcomment">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to add comments in. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.message</code></td>
<td>string</td>
<td>Required</td>
<td>The text contents of the comment to post.</td>
<td></td>
</tr>
<tr>
<td><code>body.comment_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The ID of the comment to reply to, if any. This must be a root comment. You cannot reply to other replies (a comment that has a parent_id).</td>
<td></td>
</tr>
<tr>
<td><code>body.client_meta</code></td>
<td>—</td>
<td>Optional</td>
<td>The position where to place the comment.</td>
<td></td>
</tr>
<tr>
<td><code>body.client_meta</code></td>
<td>—</td>
<td>Optional</td>
<td></td>
<td><code>oneOf[1]; $ref: &quot;#/definitions/Vector&quot;</code></td>
</tr>
<tr>
<td><code>body.client_meta</code></td>
<td>—</td>
<td>Optional</td>
<td></td>
<td><code>oneOf[2]; $ref: &quot;#/definitions/FrameOffset&quot;</code></td>
</tr>
<tr>
<td><code>body.client_meta</code></td>
<td>—</td>
<td>Optional</td>
<td></td>
<td><code>oneOf[3]; $ref: &quot;#/definitions/Region&quot;</code></td>
</tr>
<tr>
<td><code>body.client_meta</code></td>
<td>—</td>
<td>Optional</td>
<td></td>
<td><code>oneOf[4]; $ref: &quot;#/definitions/FrameOffsetRegion&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postcomment">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "body": {
    "message": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-deletecomment">
<summary><span>Delete a comment — <code>figma.<wbr>deletecomment</code></span></summary>
<p>Run <strong>Delete a comment</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.deletecomment">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to delete comment from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>path.comment_id</code></td>
<td>string</td>
<td>Required</td>
<td>Comment id of comment to delete</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.deletecomment">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example",
    "comment_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getcommentreactions">
<summary><span>Get reactions for a comment — <code>figma.<wbr>getcommentreactions</code></span></summary>
<p>Run <strong>Get reactions for a comment</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getcommentreactions">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get comment containing reactions from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>path.comment_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of comment to get reactions from.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor for pagination, retrieved from the response of the previous call.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getcommentreactions">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example",
    "comment_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postcommentreaction">
<summary><span>Add a reaction to a comment — <code>figma.<wbr>postcommentreaction</code></span></summary>
<p>Run <strong>Add a reaction to a comment</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postcommentreaction">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to post comment reactions to. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>path.comment_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of comment to react to.</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.emoji</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/Emoji&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postcommentreaction">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example",
    "comment_id": "example"
  },
  "body": {
    "emoji": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-deletecommentreaction">
<summary><span>Delete a reaction — <code>figma.<wbr>deletecommentreactio<wbr>n</code></span></summary>
<p>Run <strong>Delete a reaction</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.deletecommentreaction">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to delete comment reaction from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
<tr>
<td><code>path.comment_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of comment to delete reaction from.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.emoji</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/Emoji&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.deletecommentreaction">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example",
    "comment_id": "example"
  },
  "query": {
    "emoji": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getme">
<summary><span>Get current user — <code>figma.<wbr>getme</code></span></summary>
<p>Run <strong>Get current user</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getme">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<p>This tool has no input parameters.</p>

<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getme">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getteamcomponents">
<summary><span>Get team components — <code>figma.<wbr>getteamcomponents</code></span></summary>
<p>Run <strong>Get team components</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getteamcomponents">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>Id of the team to list components from.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.page_size</code></td>
<td>number</td>
<td>Optional</td>
<td>Number of items to return in a paged list of results. Defaults to 30. Maximum of 1000.</td>
<td><code>default: 30</code></td>
</tr>
<tr>
<td><code>query.after</code></td>
<td>number</td>
<td>Optional</td>
<td>Cursor indicating which id after which to start retrieving components for. Exclusive with before. The cursor value is an internally tracked integer that doesn&#39;t correspond to any Ids.</td>
<td></td>
</tr>
<tr>
<td><code>query.before</code></td>
<td>number</td>
<td>Optional</td>
<td>Cursor indicating which id before which to start retrieving components for. Exclusive with after. The cursor value is an internally tracked integer that doesn&#39;t correspond to any Ids.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getteamcomponents">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfilecomponents">
<summary><span>Get file components — <code>figma.<wbr>getfilecomponents</code></span></summary>
<p>Run <strong>Get file components</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfilecomponents">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to list components from. This must be a main file key, not a branch key, as it is not possible to publish from branches.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfilecomponents">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getcomponent">
<summary><span>Get component — <code>figma.<wbr>getcomponent</code></span></summary>
<p>Run <strong>Get component</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getcomponent">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.key</code></td>
<td>string</td>
<td>Required</td>
<td>The unique identifier of the component.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getcomponent">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getteamcomponentsets">
<summary><span>Get team component sets — <code>figma.<wbr>getteamcomponentsets</code></span></summary>
<p>Run <strong>Get team component sets</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getteamcomponentsets">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>Id of the team to list component sets from.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.page_size</code></td>
<td>number</td>
<td>Optional</td>
<td>Number of items to return in a paged list of results. Defaults to 30.</td>
<td><code>default: 30</code></td>
</tr>
<tr>
<td><code>query.after</code></td>
<td>number</td>
<td>Optional</td>
<td>Cursor indicating which id after which to start retrieving component sets for. Exclusive with before. The cursor value is an internally tracked integer that doesn&#39;t correspond to any Ids.</td>
<td></td>
</tr>
<tr>
<td><code>query.before</code></td>
<td>number</td>
<td>Optional</td>
<td>Cursor indicating which id before which to start retrieving component sets for. Exclusive with after. The cursor value is an internally tracked integer that doesn&#39;t correspond to any Ids.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getteamcomponentsets">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfilecomponentsets">
<summary><span>Get file component sets — <code>figma.<wbr>getfilecomponentsets</code></span></summary>
<p>Run <strong>Get file component sets</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfilecomponentsets">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to list component sets from. This must be a main file key, not a branch key, as it is not possible to publish from branches.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfilecomponentsets">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getcomponentset">
<summary><span>Get component set — <code>figma.<wbr>getcomponentset</code></span></summary>
<p>Run <strong>Get component set</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getcomponentset">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.key</code></td>
<td>string</td>
<td>Required</td>
<td>The unique identifier of the component set.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getcomponentset">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getteamstyles">
<summary><span>Get team styles — <code>figma.<wbr>getteamstyles</code></span></summary>
<p>Run <strong>Get team styles</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getteamstyles">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.team_id</code></td>
<td>string</td>
<td>Required</td>
<td>Id of the team to list styles from.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.page_size</code></td>
<td>number</td>
<td>Optional</td>
<td>Number of items to return in a paged list of results. Defaults to 30.</td>
<td><code>default: 30</code></td>
</tr>
<tr>
<td><code>query.after</code></td>
<td>number</td>
<td>Optional</td>
<td>Cursor indicating which id after which to start retrieving styles for. Exclusive with before. The cursor value is an internally tracked integer that doesn&#39;t correspond to any Ids.</td>
<td></td>
</tr>
<tr>
<td><code>query.before</code></td>
<td>number</td>
<td>Optional</td>
<td>Cursor indicating which id before which to start retrieving styles for. Exclusive with after. The cursor value is an internally tracked integer that doesn&#39;t correspond to any Ids.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getteamstyles">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "team_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getfilestyles">
<summary><span>Get file styles — <code>figma.<wbr>getfilestyles</code></span></summary>
<p>Run <strong>Get file styles</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getfilestyles">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to list styles from. This must be a main file key, not a branch key, as it is not possible to publish from branches.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getfilestyles">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getstyle">
<summary><span>Get style — <code>figma.<wbr>getstyle</code></span></summary>
<p>Run <strong>Get style</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getstyle">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.key</code></td>
<td>string</td>
<td>Required</td>
<td>The unique identifier of the style.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getstyle">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getwebhooks">
<summary><span>Get webhooks by context or plan — <code>figma.<wbr>getwebhooks</code></span></summary>
<p>Run <strong>Get webhooks by context or plan</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getwebhooks">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.context</code></td>
<td>string</td>
<td>Optional</td>
<td>Context to create the resource on. Should be &quot;team&quot;, &quot;project&quot;, or &quot;file&quot;.</td>
<td></td>
</tr>
<tr>
<td><code>query.context_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The id of the context that you want to get attached webhooks for. If you&#39;re using context_id, you cannot use plan_api_id.</td>
<td></td>
</tr>
<tr>
<td><code>query.plan_api_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The id of your plan. Use this to get all webhooks for all contexts you have access to. If you&#39;re using plan_api_id, you cannot use context or context_id. When you use plan_api_id, the response is paginated.</td>
<td></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>If you&#39;re using plan_api_id, this is the cursor to use for pagination. If you&#39;re using context or context_id, this parameter is ignored. Provide the next_page or prev_page value from the previous response to get the next or previous page of results.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getwebhooks">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postwebhook">
<summary><span>Create a webhook — <code>figma.<wbr>postwebhook</code></span></summary>
<p>Run <strong>Create a webhook</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postwebhook">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.event_type</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/WebhookV2Event&quot;</code></td>
</tr>
<tr>
<td><code>body.team_id</code></td>
<td>string</td>
<td>Optional</td>
<td>Team id to receive updates about. This is deprecated, use &#39;context&#39; and &#39;context_id&#39; instead.</td>
<td></td>
</tr>
<tr>
<td><code>body.context</code></td>
<td>string</td>
<td>Required</td>
<td>Context to create the webhook for. Must be &quot;team&quot;, &quot;project&quot;, or &quot;file&quot;.</td>
<td></td>
</tr>
<tr>
<td><code>body.context_id</code></td>
<td>string</td>
<td>Required</td>
<td>The id of the context you want to receive updates about.</td>
<td></td>
</tr>
<tr>
<td><code>body.endpoint</code></td>
<td>string</td>
<td>Required</td>
<td>The HTTP endpoint that will receive a POST request when the event triggers. Max length 2048 characters.</td>
<td></td>
</tr>
<tr>
<td><code>body.passcode</code></td>
<td>string</td>
<td>Required</td>
<td>String that will be passed back to your webhook endpoint to verify that it is being called by Figma. Max length 100 characters.</td>
<td></td>
</tr>
<tr>
<td><code>body.status</code></td>
<td>—</td>
<td>Optional</td>
<td></td>
<td><code>$ref: &quot;#/definitions/WebhookV2Status&quot;</code></td>
</tr>
<tr>
<td><code>body.description</code></td>
<td>string</td>
<td>Optional</td>
<td>User provided description or name for the webhook. Max length 150 characters.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postwebhook">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "body": {
    "event_type": "PING",
    "endpoint": "example",
    "passcode": "example",
    "context": "example",
    "context_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getwebhook">
<summary><span>Get a webhook — <code>figma.<wbr>getwebhook</code></span></summary>
<p>Run <strong>Get a webhook</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getwebhook">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.webhook_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of webhook to get</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getwebhook">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "webhook_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-putwebhook">
<summary><span>Update a webhook — <code>figma.<wbr>putwebhook</code></span></summary>
<p>Run <strong>Update a webhook</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.putwebhook">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.webhook_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of webhook to update</td>
<td></td>
</tr>
<tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.event_type</code></td>
<td>—</td>
<td>Required</td>
<td></td>
<td><code>$ref: &quot;#/definitions/WebhookV2Event&quot;</code></td>
</tr>
<tr>
<td><code>body.endpoint</code></td>
<td>string</td>
<td>Required</td>
<td>The HTTP endpoint that will receive a POST request when the event triggers. Max length 2048 characters.</td>
<td></td>
</tr>
<tr>
<td><code>body.passcode</code></td>
<td>string</td>
<td>Required</td>
<td>String that will be passed back to your webhook endpoint to verify that it is being called by Figma. Max length 100 characters.</td>
<td></td>
</tr>
<tr>
<td><code>body.status</code></td>
<td>—</td>
<td>Optional</td>
<td></td>
<td><code>$ref: &quot;#/definitions/WebhookV2Status&quot;</code></td>
</tr>
<tr>
<td><code>body.description</code></td>
<td>string</td>
<td>Optional</td>
<td>User provided description or name for the webhook. Max length 150 characters.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.putwebhook">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "webhook_id": "example"
  },
  "body": {
    "event_type": "PING",
    "team_id": "example",
    "endpoint": "example",
    "passcode": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-deletewebhook">
<summary><span>Delete a webhook — <code>figma.<wbr>deletewebhook</code></span></summary>
<p>Run <strong>Delete a webhook</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.deletewebhook">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.webhook_id</code></td>
<td>string</td>
<td>Required</td>
<td>ID of webhook to delete</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.deletewebhook">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "webhook_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getwebhookrequests">
<summary><span>Get webhook requests — <code>figma.<wbr>getwebhookrequests</code></span></summary>
<p>Run <strong>Get webhook requests</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getwebhookrequests">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.webhook_id</code></td>
<td>string</td>
<td>Required</td>
<td>The id of the webhook subscription you want to see events from</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getwebhookrequests">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "webhook_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getactivitylogs">
<summary><span>Get activity logs — <code>figma.<wbr>getactivitylogs</code></span></summary>
<p>Run <strong>Get activity logs</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getactivitylogs">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.events</code></td>
<td>string</td>
<td>Optional</td>
<td>Event type(s) to include in the response. Can have multiple values separated by comma. All events are returned by default.</td>
<td></td>
</tr>
<tr>
<td><code>query.start_time</code></td>
<td>number</td>
<td>Optional</td>
<td>Unix timestamp of the least recent event to include. This param defaults to one year ago if unspecified.</td>
<td></td>
</tr>
<tr>
<td><code>query.end_time</code></td>
<td>number</td>
<td>Optional</td>
<td>Unix timestamp of the most recent event to include. This param defaults to the current timestamp if unspecified.</td>
<td></td>
</tr>
<tr>
<td><code>query.limit</code></td>
<td>number</td>
<td>Optional</td>
<td>Maximum number of events to return. This param defaults to 1000 if unspecified.</td>
<td></td>
</tr>
<tr>
<td><code>query.order</code></td>
<td>string</td>
<td>Optional</td>
<td>Event order by timestamp. This param can be either &quot;asc&quot; (default) or &quot;desc&quot;.</td>
<td><code>enum: [&quot;asc&quot;,&quot;desc&quot;]; default: &quot;asc&quot;</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getactivitylogs">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getdeveloperlogs">
<summary><span>Get developer logs — <code>figma.<wbr>getdeveloperlogs</code></span></summary>
<p>Run <strong>Get developer logs</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getdeveloperlogs">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>body</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.token_type</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by the type of token used for authentication.</td>
<td><code>enum: [&quot;plan_access_token&quot;,&quot;developer_token&quot;,&quot;oauth_token&quot;]</code></td>
</tr>
<tr>
<td><code>body.token</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by token value(s). Multiple values can be separated by commas.</td>
<td></td>
</tr>
<tr>
<td><code>body.token_name</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by token name prefix(es). Multiple values can be separated by commas.</td>
<td></td>
</tr>
<tr>
<td><code>body.user_email</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by user email prefix(es). Multiple values can be separated by commas.</td>
<td></td>
</tr>
<tr>
<td><code>body.ip_address</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by IP address prefix(es). Multiple values can be separated by commas.</td>
<td></td>
</tr>
<tr>
<td><code>body.event_source</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by event source.</td>
<td><code>enum: [&quot;rest_api&quot;,&quot;mcp_server&quot;]</code></td>
</tr>
<tr>
<td><code>body.date_range</code></td>
<td>string</td>
<td>Optional</td>
<td>Filter by date range.</td>
<td><code>enum: [&quot;last_24h&quot;,&quot;last_7d&quot;,&quot;last_30d&quot;]; default: &quot;last_30d&quot;</code></td>
</tr>
<tr>
<td><code>body.limit</code></td>
<td>integer</td>
<td>Optional</td>
<td>Maximum number of entries to return.</td>
<td><code>default: 25; minimum: 1; maximum: 100</code></td>
</tr>
<tr>
<td><code>body.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>A cursor returned from a previous request, used for pagination.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getdeveloperlogs">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getaiusagedaily">
<summary><span>Get daily AI credit usage — <code>figma.<wbr>getaiusagedaily</code></span></summary>
<p>Run <strong>Get daily AI credit usage</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getaiusagedaily">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.start_date</code></td>
<td>string</td>
<td>Required</td>
<td>The first day to include, inclusive, as a <code>YYYY-MM-DD</code> calendar date (UTC). Required. Must be on or after <code>2025-12-01</code> and no more than 366 days before the current UTC day.</td>
<td></td>
</tr>
<tr>
<td><code>query.end_date</code></td>
<td>string</td>
<td>Required</td>
<td>The last day to include, inclusive, as a <code>YYYY-MM-DD</code> calendar date (UTC). Required. Must be on or after <code>start_date</code> and the current UTC day or earlier.</td>
<td></td>
</tr>
<tr>
<td><code>query.user_email</code></td>
<td>string</td>
<td>Optional</td>
<td>Restrict the results to a single Figma user, identified by email. When omitted, rows for every user in the plan with usage in the range are returned. An email that matches no Figma user returns a 400.</td>
<td></td>
</tr>
<tr>
<td><code>query.limit</code></td>
<td>integer</td>
<td>Optional</td>
<td>Maximum number of rows to return. This param defaults to 1000 if unspecified, and may not exceed 1000.</td>
<td><code>default: 1000; minimum: 1; maximum: 1000</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>An opaque cursor returned from a previous request, used for pagination.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getaiusagedaily">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "query": {
    "start_date": "example",
    "end_date": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getpayments">
<summary><span>Get payments — <code>figma.<wbr>getpayments</code></span></summary>
<p>Run <strong>Get payments</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getpayments">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.plugin_payment_token</code></td>
<td>string</td>
<td>Optional</td>
<td>Short-lived token returned from &quot;getPluginPaymentTokenAsync&quot; in the plugin payments API and used to authenticate to this endpoint. Read more about generating this token through &quot;Calling the Payments REST API from a plugin or widget&quot; below.</td>
<td></td>
</tr>
<tr>
<td><code>query.user_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The ID of the user to query payment information about. You can get the user ID by having the user OAuth2 to the Figma REST API.</td>
<td></td>
</tr>
<tr>
<td><code>query.community_file_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The ID of the Community file to query a user&#39;s payment information on. You can get the Community file ID from the file&#39;s Community page (look for the number after &quot;file/&quot; in the URL). Provide exactly one of &quot;community_file_id&quot;, &quot;plugin_id&quot;, or &quot;widget_id&quot;.</td>
<td></td>
</tr>
<tr>
<td><code>query.plugin_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The ID of the plugin to query a user&#39;s payment information on. You can get the plugin ID from the plugin&#39;s manifest, or from the plugin&#39;s Community page (look for the number after &quot;plugin/&quot; in the URL). Provide exactly one of &quot;community_file_id&quot;, &quot;plugin_id&quot;, or &quot;widget_id&quot;.</td>
<td></td>
</tr>
<tr>
<td><code>query.widget_id</code></td>
<td>string</td>
<td>Optional</td>
<td>The ID of the widget to query a user&#39;s payment information on. You can get the widget ID from the widget&#39;s manifest, or from the widget&#39;s Community page (look for the number after &quot;widget/&quot; in the URL). Provide exactly one of &quot;community_file_id&quot;, &quot;plugin_id&quot;, or &quot;widget_id&quot;.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getpayments">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlocalvariables">
<summary><span>Get local variables — <code>figma.<wbr>getlocalvariables</code></span></summary>
<p>Run <strong>Get local variables</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlocalvariables">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get variables from. This can be a file key or branch key. Use <code>GET /v1/files/:key</code> with the <code>branch_data</code> query param to get the branch key.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlocalvariables">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getpublishedvariables">
<summary><span>Get published variables — <code>figma.<wbr>getpublishedvariable<wbr>s</code></span></summary>
<p>Run <strong>Get published variables</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getpublishedvariables">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File to get variables from. This must be a main file key, not a branch key, as it is not possible to publish from branches.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getpublishedvariables">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getdevresources">
<summary><span>Get dev resources — <code>figma.<wbr>getdevresources</code></span></summary>
<p>Run <strong>Get dev resources</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getdevresources">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>The file to get the dev resources from. This must be a main file key, not a branch key.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.node_ids</code></td>
<td>string</td>
<td>Optional</td>
<td>Comma separated list of nodes that you care about in the document. If specified, only dev resources attached to these nodes will be returned. If not specified, all dev resources in the file will be returned.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getdevresources">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-postdevresources">
<summary><span>Create dev resources — <code>figma.<wbr>postdevresources</code></span></summary>
<p>Run <strong>Create dev resources</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.postdevresources">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources</code></td>
<td>array</td>
<td>Required</td>
<td>An array of dev resources.</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[]</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].name</code></td>
<td>string</td>
<td>Required</td>
<td>The name of the dev resource.</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].url</code></td>
<td>string</td>
<td>Required</td>
<td>The URL of the dev resource.</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].file_key</code></td>
<td>string</td>
<td>Required</td>
<td>The file key where the dev resource belongs.</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].node_id</code></td>
<td>string</td>
<td>Required</td>
<td>The target node to attach the dev resource to.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.postdevresources">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "body": {
    "dev_resources": []
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-putdevresources">
<summary><span>Update dev resources — <code>figma.<wbr>putdevresources</code></span></summary>
<p>Run <strong>Update dev resources</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.putdevresources">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>body</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources</code></td>
<td>array</td>
<td>Required</td>
<td>An array of dev resources.</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[]</code></td>
<td>object</td>
<td>Optional</td>
<td></td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].id</code></td>
<td>string</td>
<td>Required</td>
<td>Unique identifier of the dev resource</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].name</code></td>
<td>string</td>
<td>Optional</td>
<td>The name of the dev resource.</td>
<td></td>
</tr>
<tr>
<td><code>body.dev_resources[].url</code></td>
<td>string</td>
<td>Optional</td>
<td>The URL of the dev resource.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.putdevresources">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "body": {
    "dev_resources": []
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-deletedevresource">
<summary><span>Delete dev resource — <code>figma.<wbr>deletedevresource</code></span></summary>
<p>Run <strong>Delete dev resource</strong> with Figma. This command can change provider data. Review the target and input before invoking it.</p>

<p>This operation can change provider data. Review the input before allowing an agent to call it.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.deletedevresource">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>The file to delete the dev resource from. This must be a main file key, not a branch key.</td>
<td></td>
</tr>
<tr>
<td><code>path.dev_resource_id</code></td>
<td>string</td>
<td>Required</td>
<td>The id of the dev resource to delete.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.deletedevresource">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example",
    "dev_resource_id": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlibraryanalyticscomponentactions">
<summary><span>Get library analytics component action data. — <code>figma.<wbr>getlibraryanalyticsc<wbr>omponentactions</code></span></summary>
<p>Run <strong>Get library analytics component action data.</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlibraryanalyticscomponentactions">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File key of the library to fetch analytics data for.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor indicating what page of data to fetch. Obtained from prior API call.</td>
<td></td>
</tr>
<tr>
<td><code>query.group_by</code></td>
<td>string</td>
<td>Required</td>
<td>A dimension to group returned analytics data by.</td>
<td><code>enum: [&quot;component&quot;,&quot;team&quot;]</code></td>
</tr>
<tr>
<td><code>query.start_date</code></td>
<td>string</td>
<td>Optional</td>
<td>ISO 8601 date string (YYYY-MM-DD) of the earliest week to include. Dates are rounded back to the nearest start of a week. Defaults to one year prior.</td>
<td></td>
</tr>
<tr>
<td><code>query.end_date</code></td>
<td>string</td>
<td>Optional</td>
<td>ISO 8601 date string (YYYY-MM-DD) of the latest week to include. Dates are rounded forward to the nearest end of a week. Defaults to the latest computed week.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlibraryanalyticscomponentactions">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "group_by": "component"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlibraryanalyticscomponentusages">
<summary><span>Get library analytics component usage data. — <code>figma.<wbr>getlibraryanalyticsc<wbr>omponentusages</code></span></summary>
<p>Run <strong>Get library analytics component usage data.</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlibraryanalyticscomponentusages">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File key of the library to fetch analytics data for.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor indicating what page of data to fetch. Obtained from prior API call.</td>
<td></td>
</tr>
<tr>
<td><code>query.group_by</code></td>
<td>string</td>
<td>Required</td>
<td>A dimension to group returned analytics data by.</td>
<td><code>enum: [&quot;component&quot;,&quot;file&quot;]</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlibraryanalyticscomponentusages">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "group_by": "component"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlibraryanalyticsstyleactions">
<summary><span>Get library analytics style action data. — <code>figma.<wbr>getlibraryanalyticss<wbr>tyleactions</code></span></summary>
<p>Run <strong>Get library analytics style action data.</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlibraryanalyticsstyleactions">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File key of the library to fetch analytics data for.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor indicating what page of data to fetch. Obtained from prior API call.</td>
<td></td>
</tr>
<tr>
<td><code>query.group_by</code></td>
<td>string</td>
<td>Required</td>
<td>A dimension to group returned analytics data by.</td>
<td><code>enum: [&quot;style&quot;,&quot;team&quot;]</code></td>
</tr>
<tr>
<td><code>query.start_date</code></td>
<td>string</td>
<td>Optional</td>
<td>ISO 8601 date string (YYYY-MM-DD) of the earliest week to include. Dates are rounded back to the nearest start of a week. Defaults to one year prior.</td>
<td></td>
</tr>
<tr>
<td><code>query.end_date</code></td>
<td>string</td>
<td>Optional</td>
<td>ISO 8601 date string (YYYY-MM-DD) of the latest week to include. Dates are rounded forward to the nearest end of a week. Defaults to the latest computed week.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlibraryanalyticsstyleactions">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "group_by": "style"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlibraryanalyticsstyleusages">
<summary><span>Get library analytics style usage data. — <code>figma.<wbr>getlibraryanalyticss<wbr>tyleusages</code></span></summary>
<p>Run <strong>Get library analytics style usage data.</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlibraryanalyticsstyleusages">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File key of the library to fetch analytics data for.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor indicating what page of data to fetch. Obtained from prior API call.</td>
<td></td>
</tr>
<tr>
<td><code>query.group_by</code></td>
<td>string</td>
<td>Required</td>
<td>A dimension to group returned analytics data by.</td>
<td><code>enum: [&quot;style&quot;,&quot;file&quot;]</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlibraryanalyticsstyleusages">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "group_by": "style"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlibraryanalyticsvariableactions">
<summary><span>Get library analytics variable action data. — <code>figma.<wbr>getlibraryanalyticsv<wbr>ariableactions</code></span></summary>
<p>Run <strong>Get library analytics variable action data.</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlibraryanalyticsvariableactions">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File key of the library to fetch analytics data for.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor indicating what page of data to fetch. Obtained from prior API call.</td>
<td></td>
</tr>
<tr>
<td><code>query.group_by</code></td>
<td>string</td>
<td>Required</td>
<td>A dimension to group returned analytics data by.</td>
<td><code>enum: [&quot;variable&quot;,&quot;team&quot;]</code></td>
</tr>
<tr>
<td><code>query.start_date</code></td>
<td>string</td>
<td>Optional</td>
<td>ISO 8601 date string (YYYY-MM-DD) of the earliest week to include. Dates are rounded back to the nearest start of a week. Defaults to one year prior.</td>
<td></td>
</tr>
<tr>
<td><code>query.end_date</code></td>
<td>string</td>
<td>Optional</td>
<td>ISO 8601 date string (YYYY-MM-DD) of the latest week to include. Dates are rounded forward to the nearest end of a week. Defaults to the latest computed week.</td>
<td></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlibraryanalyticsvariableactions">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "group_by": "variable"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getlibraryanalyticsvariableusages">
<summary><span>Get library analytics variable usage data. — <code>figma.<wbr>getlibraryanalyticsv<wbr>ariableusages</code></span></summary>
<p>Run <strong>Get library analytics variable usage data.</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getlibraryanalyticsvariableusages">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>path</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>path.file_key</code></td>
<td>string</td>
<td>Required</td>
<td>File key of the library to fetch analytics data for.</td>
<td></td>
</tr>
<tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.cursor</code></td>
<td>string</td>
<td>Optional</td>
<td>Cursor indicating what page of data to fetch. Obtained from prior API call.</td>
<td></td>
</tr>
<tr>
<td><code>query.group_by</code></td>
<td>string</td>
<td>Required</td>
<td>A dimension to group returned analytics data by.</td>
<td><code>enum: [&quot;variable&quot;,&quot;file&quot;]</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getlibraryanalyticsvariableusages">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "path": {
    "file_key": "example"
  },
  "query": {
    "group_by": "variable"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<details id="command-figma-getoembed">
<summary><span>Get oEmbed data — <code>figma.<wbr>getoembed</code></span></summary>
<p>Run <strong>Get oEmbed data</strong> with Figma. This is a read command; it does not grant access beyond the connected account&#39;s permissions.</p>

<p>This is a read operation. Provider rate limits and data access rules still apply.</p>

<p><a href="https://www.tooluse.net/tools/integrations/figma?command=figma.getoembed">Connect and use</a></p>

<p><strong>Parameters</strong></p>

<p>Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.</p>

<div class="nb-table-scroll"><table>
<thead>
<tr>
<th>Parameter</th>
<th>Type</th>
<th>Required in parent</th>
<th>Description</th>
<th>Constraints</th>
</tr>
</thead>
<tbody><tr>
<td><code>query</code></td>
<td>object</td>
<td>Required</td>
<td></td>
<td><code>additionalProperties: false</code></td>
</tr>
<tr>
<td><code>query.url</code></td>
<td>string</td>
<td>Required</td>
<td>The URL of the Figma file or published Make site to retrieve oEmbed data for.</td>
<td></td>
</tr>
<tr>
<td><code>query.maxwidth</code></td>
<td>integer</td>
<td>Optional</td>
<td>Maximum width of the embed in pixels. Defaults to 800. The response width will be adjusted to maintain a 16:9 aspect ratio with maxheight.</td>
<td><code>default: 800</code></td>
</tr>
<tr>
<td><code>query.maxheight</code></td>
<td>integer</td>
<td>Optional</td>
<td>Maximum height of the embed in pixels. Defaults to 450. The response height will be adjusted to maintain a 16:9 aspect ratio with maxwidth.</td>
<td><code>default: 450</code></td>
</tr>
</tbody></table>
</div>
<p><strong>Full JSON Schema</strong></p>

<p><a href="https://api.tooluse.net/v1/integrations/figma/commands/figma.getoembed">Full JSON Schema</a></p>

<p><strong>Example input</strong></p>

<pre><code class="language-json">{
  "query": {
    "url": "example"
  }
}
</code></pre>

<p>At most 1 provider requests per invocation; timeout: 30 seconds.</p>

</details>
<h2>Errors</h2>

<p>Check the key&#39;s expiry, revocation, workspace and allowed operations.</p>

<p>Reuse the same idempotency key only for the same request.</p>

<p>The connection or provider limit has been reached. Check the receipt before retrying.</p>

<h2>Test the connection</h2>

<p>Open the integration&#39;s commands below to inspect parameters and examples. Start with a read command for an account or resource you can access. Refresh your client&#39;s tool list, use the returned tool name, and check the execution result and usage. Provider charges and permissions still apply. Never test a write against production data without reviewing it.</p>

<p><a href="https://developers.figma.com/docs/rest-api/">Official provider documentation</a></p>

Source: https://help.tooluse.net/integrations/figma/index.mdx
