{ "name": "UpdateEnvironmentFolder", "fully_qualified_name": "PosthogApi.UpdateEnvironmentFolder@0.1.0", "description": "Update a specific folder in an environment project.\n\nThis tool updates the details of a persisted folder within a specified environment project. It should be called when modifications to folder settings or contents are needed in a given environment.", "toolkit": { "name": "ArcadePosthogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "folder_uuid", "required": true, "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": "project_identifier", "required": true, "description": "String ID of the project to access. Retrieve by calling /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/." }, "inferrable": true, "http_endpoint_parameter_name": "project_id" }, { "name": "folder_id", "required": true, "description": "The identifier for the folder to be updated in the environment.", "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": true, "description": "Specify the type of the folder: 'home' for Home, '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": "folder_creation_date", "required": true, "description": "The date and time when the folder was created, in ISO 8601 format (e.g., '2023-10-12T14:23:30Z').", "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": "folder_update_timestamp", "required": true, "description": "Timestamp indicating when the folder was last updated. Expected in 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" }, { "name": "folder_protocol_type", "required": false, "description": "Specifies the protocol type for accessing the folder. Must be a string.", "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 of the folder within the environment project 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": "path" } ] }, "output": { "description": "Response from the API endpoint 'environments_persisted_folder_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/environments/{project_id}/persisted_folder/{id}/", "http_method": "PUT", "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_identifier", "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": true, "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": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "protocol", "tool_parameter_name": "folder_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": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "updated_at", "tool_parameter_name": "folder_update_timestamp", "description": "", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "" }, "accepted_as": "body", "required": true, "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 \"required\": [\n \"created_at\",\n \"id\",\n \"type\",\n \"updated_at\"\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 \"required\": [\n \"created_at\",\n \"id\",\n \"type\",\n \"updated_at\"\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 \"required\": [\n \"created_at\",\n \"id\",\n \"type\",\n \"updated_at\"\n ]\n }\n }\n },\n \"required\": true\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }