arcade-mcp/toolkits/datadog_api/arcade_datadog_api/wrapper_tools/EditUserAppKey.json
jottakka f05560bbf4
[MOAR][DATADOG] Adding DataDog starter toolkit (+590) (#633)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-20 15:49:48 -03:00

262 lines
10 KiB
JSON

{
"name": "EditUserAppKey",
"fully_qualified_name": "DatadogApi.EditUserAppKey@0.1.0",
"description": "Edit an application key owned by the current user.\n\nUse this tool to modify an existing application key for the current user. This is useful when you need to update permissions or other details associated with your application keys.",
"toolkit": {
"name": "ArcadeDatadogApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "application_key_id",
"required": true,
"description": "The ID of the application key to be edited. Must be a valid string ID.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the application key."
},
"inferrable": true,
"http_endpoint_parameter_name": "app_key_id"
},
{
"name": "app_key_identifier",
"required": true,
"description": "ID of the application key to be edited.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "ID of the application key."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.id"
},
{
"name": "application_key_resource_type",
"required": true,
"description": "Specifies the resource type for the application key. Use the value 'application_keys'.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"application_keys"
],
"properties": null,
"inner_properties": null,
"description": "Application Keys resource type."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.type"
},
{
"name": "application_key_name",
"required": false,
"description": "New name for the application key.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Name of the application key."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.attributes.name"
},
{
"name": "application_key_scopes",
"required": false,
"description": "List of scopes to grant the application key. Each scope is a string defining permissions.",
"value_schema": {
"val_type": "array",
"inner_val_type": "string",
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Array of scopes to grant the application key."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.attributes.scopes"
}
]
},
"output": {
"description": "Response from the API endpoint 'UpdateCurrentUserApplicationKey'.",
"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": "DATADOG_API_KEY"
},
{
"key": "DATADOG_APPLICATION_KEY"
},
{
"key": "DATADOG_BASE_URL"
}
],
"metadata": null
},
"deprecation_message": null,
"metadata": {
"object_type": "api_wrapper_tool",
"version": "1.1.0",
"description": "Tools that enable LLMs to interact directly with the Datadog API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "https://{datadog_base_url}/api/v2/current_user/application_keys/{app_key_id}",
"http_method": "PATCH",
"headers": {},
"parameters": [
{
"name": "app_key_id",
"tool_parameter_name": "application_key_id",
"description": "The ID of the application key.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The ID of the application key."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.attributes.name",
"tool_parameter_name": "application_key_name",
"description": "Name of the application key.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Name of the application key."
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.attributes.scopes",
"tool_parameter_name": "application_key_scopes",
"description": "Array of scopes to grant the application key.",
"value_schema": {
"val_type": "array",
"inner_val_type": "string",
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Array of scopes to grant the application key."
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.id",
"tool_parameter_name": "app_key_identifier",
"description": "ID of the application key.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "ID of the application key."
},
"accepted_as": "body",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.type",
"tool_parameter_name": "application_key_resource_type",
"description": "Application Keys resource type.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"application_keys"
],
"properties": null,
"inner_properties": null,
"description": "Application Keys resource type."
},
"accepted_as": "body",
"required": true,
"deprecated": false,
"default": "application_keys",
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "DATADOG_API_KEY",
"parameter_name": "DD-API-KEY",
"accepted_as": "header",
"formatted_value": null,
"description": "",
"is_auth_token": false
},
{
"arcade_key": "DATADOG_APPLICATION_KEY",
"parameter_name": "DD-APPLICATION-KEY",
"accepted_as": "header",
"formatted_value": null,
"description": "",
"is_auth_token": false
},
{
"arcade_key": "DATADOG_BASE_URL",
"parameter_name": "datadog_base_url",
"accepted_as": "path",
"formatted_value": null,
"description": "",
"is_auth_token": false
}
],
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"description\": \"Request used to update an application key.\",\n \"properties\": {\n \"data\": {\n \"description\": \"Object used to update an application key.\",\n \"properties\": {\n \"attributes\": {\n \"description\": \"Attributes used to update an application Key.\",\n \"properties\": {\n \"name\": {\n \"description\": \"Name of the application key.\",\n \"example\": \"Application Key for managing dashboards\",\n \"type\": \"string\"\n },\n \"scopes\": {\n \"description\": \"Array of scopes to grant the application key.\",\n \"example\": [\n \"dashboards_read\",\n \"dashboards_write\",\n \"dashboards_public_share\"\n ],\n \"items\": {\n \"description\": \"Name of scope.\",\n \"type\": \"string\"\n },\n \"nullable\": true,\n \"type\": \"array\"\n }\n },\n \"type\": \"object\"\n },\n \"id\": {\n \"description\": \"ID of the application key.\",\n \"example\": \"00112233-4455-6677-8899-aabbccddeeff\",\n \"type\": \"string\"\n },\n \"type\": {\n \"default\": \"application_keys\",\n \"description\": \"Application Keys resource type.\",\n \"enum\": [\n \"application_keys\"\n ],\n \"example\": \"application_keys\",\n \"type\": \"string\",\n \"x-enum-varnames\": [\n \"APPLICATION_KEYS\"\n ]\n }\n },\n \"required\": [\n \"attributes\",\n \"id\",\n \"type\"\n ],\n \"type\": \"object\"\n }\n },\n \"required\": [\n \"data\"\n ],\n \"type\": \"object\"\n }\n }\n },\n \"required\": true\n}",
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}