arcade-mcp/toolkits/posthog_api/arcade_posthog_api/wrapper_tools/UpdateFolderInfo.json
jottakka b7bb2c8d03
[MOAR][PostHog] Adding PostHog starter toolkit (+722) (#654)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-27 12:22:18 -03:00

352 lines
13 KiB
JSON

{
"name": "UpdateFolderInfo",
"fully_qualified_name": "PosthogApi.UpdateFolderInfo@0.1.0",
"description": "Update a persisted folder's metadata in Datadog.\n\nThis tool updates the metadata of a specific persisted folder in a Datadog project. It should be called when you need to modify information about an existing persisted folder, such as its name or description.",
"toolkit": {
"name": "ArcadePosthogApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "project_id",
"required": true,
"description": "The ID of the Datadog project you want to access. Make a call to /api/projects/ to find it.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
},
"inferrable": true,
"http_endpoint_parameter_name": "project_id"
},
{
"name": "persisted_folder_id",
"required": false,
"description": "A UUID string identifying the persisted folder to update.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "id"
},
{
"name": "folder_id",
"required": false,
"description": "The unique identifier of the persisted folder to update.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "id"
},
{
"name": "folder_type",
"required": false,
"description": "Specify the type of the folder. Options are 'home' for Home or 'pinned' for Pinned.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"home",
"pinned"
],
"properties": null,
"inner_properties": null,
"description": "* `home` - Home\n* `pinned` - Pinned"
},
"inferrable": true,
"http_endpoint_parameter_name": "type"
},
{
"name": "protocol_type",
"required": false,
"description": "Specify the protocol type for the persisted folder metadata. This is typically a string indicating the protocol used.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "protocol"
},
{
"name": "folder_path",
"required": false,
"description": "The path to the persisted folder to update in Datadog. This specifies the location or hierarchy within the project where the folder resides.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "path"
},
{
"name": "folder_creation_date",
"required": false,
"description": "The date when the folder was created, expected in a string format (e.g., YYYY-MM-DD).",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "created_at"
},
{
"name": "update_timestamp",
"required": false,
"description": "Timestamp indicating when the persisted folder was last updated. Use ISO 8601 format.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"inferrable": true,
"http_endpoint_parameter_name": "updated_at"
}
]
},
"output": {
"description": "Response from the API endpoint 'persisted_folder_partial_update'.",
"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": "POSTHOG_SERVER_URL"
},
{
"key": "POSTHOG_PERSONAL_API_KEY"
}
],
"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": "{posthog_server_url}/api/projects/{project_id}/persisted_folder/{id}/",
"http_method": "PATCH",
"headers": {},
"parameters": [
{
"name": "id",
"tool_parameter_name": "folder_id",
"description": "A UUID string identifying this Persisted Folder.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "A UUID string identifying this Persisted Folder."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "project_id",
"tool_parameter_name": "project_id",
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "id",
"tool_parameter_name": "folder_id",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "type",
"tool_parameter_name": "folder_type",
"description": "* `home` - Home\n* `pinned` - Pinned",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": [
"home",
"pinned"
],
"properties": null,
"inner_properties": null,
"description": "* `home` - Home\n* `pinned` - Pinned"
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "protocol",
"tool_parameter_name": "protocol_type",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "path",
"tool_parameter_name": "folder_path",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "created_at",
"tool_parameter_name": "folder_creation_date",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "updated_at",
"tool_parameter_name": "update_timestamp",
"description": "",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": ""
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "POSTHOG_SERVER_URL",
"parameter_name": "posthog_server_url",
"accepted_as": "path",
"formatted_value": null,
"description": "",
"is_auth_token": false
},
{
"arcade_key": "POSTHOG_PERSONAL_API_KEY",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "",
"is_auth_token": false
}
],
"request_body_spec": "{\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"type\": {\n \"enum\": [\n \"home\",\n \"pinned\"\n ],\n \"type\": \"string\",\n \"description\": \"* `home` - Home\\n* `pinned` - Pinned\"\n },\n \"protocol\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"path\": {\n \"type\": \"string\"\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n },\n \"updated_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n }\n }\n }\n },\n \"application/x-www-form-urlencoded\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"type\": {\n \"enum\": [\n \"home\",\n \"pinned\"\n ],\n \"type\": \"string\",\n \"description\": \"* `home` - Home\\n* `pinned` - Pinned\"\n },\n \"protocol\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"path\": {\n \"type\": \"string\"\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n },\n \"updated_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n }\n }\n }\n },\n \"multipart/form-data\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"type\": {\n \"enum\": [\n \"home\",\n \"pinned\"\n ],\n \"type\": \"string\",\n \"description\": \"* `home` - Home\\n* `pinned` - Pinned\"\n },\n \"protocol\": {\n \"type\": \"string\",\n \"maxLength\": 64\n },\n \"path\": {\n \"type\": \"string\"\n },\n \"created_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n },\n \"updated_at\": {\n \"type\": \"string\",\n \"format\": \"date-time\",\n \"readOnly\": true\n }\n }\n }\n }\n }\n}",
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}