{ "name": "DeleteDevResource", "fully_qualified_name": "FigmaApi.DeleteDevResource@0.1.0", "description": "Delete a dev resource from a Figma file.\n\nCall this tool to delete a specific developer resource from a Figma file using the file key and resource ID.", "toolkit": { "name": "ArcadeFigmaApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "target_file_key", "required": true, "description": "The main file key from which to delete the dev resource. Must not be a branch key.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The file to delete the dev resource from. This must be a main file key, not a branch key." }, "inferrable": true, "http_endpoint_parameter_name": "file_key" }, { "name": "dev_resource_id", "required": true, "description": "The ID of the developer resource to delete from the Figma file.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The id of the dev resource to delete." }, "inferrable": true, "http_endpoint_parameter_name": "dev_resource_id" } ] }, "output": { "description": "Response from the API endpoint 'deleteDevResource'.", "available_modes": [ "value", "error", "null" ], "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "requirements": { "authorization": { "provider_id": "arcade-figma", "provider_type": "oauth2", "id": null, "oauth2": { "scopes": [ "file_dev_resources:write" ] } }, "secrets": null, "metadata": null }, "deprecation_message": null, "metadata": { "object_type": "api_wrapper_tool", "version": "1.0.0", "description": "Tools that enable LLMs to interact directly with the figma API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.1.0", "description": "" }, "url": "https://api.figma.com/v1/files/{file_key}/dev_resources/{dev_resource_id}", "http_method": "DELETE", "headers": { "Content-Type": "application/json" }, "parameters": [ { "name": "file_key", "tool_parameter_name": "target_file_key", "description": "The file to delete the dev resource from. This must be a main file key, not a branch key.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The file to delete the dev resource from. This must be a main file key, not a branch key." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "dev_resource_id", "tool_parameter_name": "dev_resource_id", "description": "The id of the dev resource to delete.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The id of the dev resource to delete." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "auth_token", "parameter_name": "Authorization", "accepted_as": "header", "formatted_value": "Bearer {authorization}", "description": "The OAuth token to use for authentication.", "is_auth_token": true } ], "request_body_spec": null, "use_request_body_schema_mode": false, "validate_request_body_schema": false } }