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>
181 lines
4.9 KiB
JSON
181 lines
4.9 KiB
JSON
{
|
|
"name": "UpdateTrelloLabelField",
|
|
"fully_qualified_name": "TrelloApi.UpdateTrelloLabelField@0.1.0",
|
|
"description": "Update a specific field on a Trello label.\n\nUse this tool to update a specific field, such as name or color, on a Trello label by providing the label ID and the field to be updated.",
|
|
"toolkit": {
|
|
"name": "ArcadeTrelloApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "new_field_value",
|
|
"required": true,
|
|
"description": "The new value to update the specified field on the Trello label.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The new value for the field."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "value"
|
|
},
|
|
{
|
|
"name": "label_id",
|
|
"required": true,
|
|
"description": "The ID of the Trello label to be updated.",
|
|
"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": "label_field_to_update",
|
|
"required": true,
|
|
"description": "Specify the field (e.g., 'color' or 'name') on the Trello label to update.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"color",
|
|
"name"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The field on the Label to update."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "field"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'put-labels-id-field'.",
|
|
"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}/{field}",
|
|
"http_method": "PUT",
|
|
"headers": {},
|
|
"parameters": [
|
|
{
|
|
"name": "value",
|
|
"tool_parameter_name": "new_field_value",
|
|
"description": "The new value for the field.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The new value for the field."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": true,
|
|
"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": []
|
|
},
|
|
{
|
|
"name": "field",
|
|
"tool_parameter_name": "label_field_to_update",
|
|
"description": "The field on the Label to update.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": [
|
|
"color",
|
|
"name"
|
|
],
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The field on the Label to update."
|
|
},
|
|
"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
|
|
}
|
|
]
|
|
}
|
|
}
|