{ "name": "DeleteFigmaComment", "fully_qualified_name": "FigmaApi.DeleteFigmaComment@0.1.0", "description": "Delete your comment from a Figma file.\n\nUse this tool to delete a specific comment you made on a Figma file. Only the original commenter can delete their comments.", "toolkit": { "name": "ArcadeFigmaApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "figma_file_key", "required": true, "description": "The file or branch key from which to delete the comment. Use `GET /v1/files/:key` with `branch_data` to obtain the branch key.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "File to delete comment from. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key." }, "inferrable": true, "http_endpoint_parameter_name": "file_key" }, { "name": "comment_identifier", "required": true, "description": "The ID of the comment you wish to delete from the Figma file. Only the original commenter can perform this action.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Comment id of comment to delete" }, "inferrable": true, "http_endpoint_parameter_name": "comment_id" } ] }, "output": { "description": "Response from the API endpoint 'deleteComment'.", "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_comments: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}/comments/{comment_id}", "http_method": "DELETE", "headers": { "Content-Type": "application/json" }, "parameters": [ { "name": "file_key", "tool_parameter_name": "figma_file_key", "description": "File to delete comment from. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "File to delete comment from. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "comment_id", "tool_parameter_name": "comment_identifier", "description": "Comment id of comment to delete", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Comment id of comment 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 } }