No Oauth, uses Oauth1 and needs a Token and a Api key as secrets. --------- Co-authored-by: Francisco Liberal <francisco@arcade.dev> Co-authored-by: Renato Byrro <rmbyrro@gmail.com>
197 lines
5.5 KiB
JSON
197 lines
5.5 KiB
JSON
{
|
|
"name": "UpdateTrelloLabel",
|
|
"fully_qualified_name": "TrelloApi.UpdateTrelloLabel@0.1.0",
|
|
"description": "Update a Trello label by its ID.\n\nUse this tool to update the details of a specific Trello label using its ID. Useful for changing label attributes such as name or color.",
|
|
"toolkit": {
|
|
"name": "ArcadeTrelloApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "label_id",
|
|
"required": true,
|
|
"description": "The unique ID of the Trello label to update.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The ID of the Label"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "id"
|
|
},
|
|
{
|
|
"name": "new_label_name",
|
|
"required": false,
|
|
"description": "The new name for the Trello label to be updated.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The new name for the label"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "name"
|
|
},
|
|
{
|
|
"name": "new_label_color",
|
|
"required": false,
|
|
"description": "The desired new color for the Trello label. Choose from options: yellow, purple, blue, red, green, orange, black, sky, pink, lime.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"yellow",
|
|
"purple",
|
|
"blue",
|
|
"red",
|
|
"green",
|
|
"orange",
|
|
"black",
|
|
"sky",
|
|
"pink",
|
|
"lime"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The new color for the label. See: [fields](/cloud/trello/guides/rest-api/object-definitions/) for color options"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "color"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'put-labels-id'.",
|
|
"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": null,
|
|
"secrets": [
|
|
{
|
|
"key": "TRELLO_API_KEY"
|
|
},
|
|
{
|
|
"key": "TRELLO_TOKEN"
|
|
}
|
|
],
|
|
"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 trello API."
|
|
},
|
|
"http_endpoint": {
|
|
"metadata": {
|
|
"object_type": "http_endpoint",
|
|
"version": "1.0.0",
|
|
"description": ""
|
|
},
|
|
"url": "https://api.trello.com/1/labels/{id}",
|
|
"http_method": "PUT",
|
|
"headers": {},
|
|
"parameters": [
|
|
{
|
|
"name": "name",
|
|
"tool_parameter_name": "new_label_name",
|
|
"description": "The new name for the label",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The new name for the label"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "color",
|
|
"tool_parameter_name": "new_label_color",
|
|
"description": "The new color for the label. See: [fields](/cloud/trello/guides/rest-api/object-definitions/) for color options",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"yellow",
|
|
"purple",
|
|
"blue",
|
|
"red",
|
|
"green",
|
|
"orange",
|
|
"black",
|
|
"sky",
|
|
"pink",
|
|
"lime"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The new color for the label. See: [fields](/cloud/trello/guides/rest-api/object-definitions/) for color options"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "id",
|
|
"tool_parameter_name": "label_id",
|
|
"description": "The ID of the Label",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The ID of the Label"
|
|
},
|
|
"accepted_as": "path",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
}
|
|
],
|
|
"documentation_urls": [],
|
|
"secrets": [
|
|
{
|
|
"arcade_key": "TRELLO_API_KEY",
|
|
"parameter_name": "key",
|
|
"accepted_as": "query",
|
|
"formatted_value": null,
|
|
"description": "",
|
|
"is_auth_token": false
|
|
},
|
|
{
|
|
"arcade_key": "TRELLO_TOKEN",
|
|
"parameter_name": "token",
|
|
"accepted_as": "query",
|
|
"formatted_value": null,
|
|
"description": "",
|
|
"is_auth_token": false
|
|
}
|
|
]
|
|
}
|
|
}
|