{ "name": "UpdatePropertyDefinitions", "fully_qualified_name": "PosthogApi.UpdatePropertyDefinitions@0.1.0", "description": "Update property definitions for a specific project.\n\nCall this tool to update the property definitions of a specified project in your Datadog account.", "toolkit": { "name": "ArcadePosthogApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "property_definition_id", "required": true, "description": "A UUID string identifying the specific property definition to update.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A UUID string identifying this property definition." }, "inferrable": true, "http_endpoint_parameter_name": "id" }, { "name": "project_id", "required": true, "description": "Project ID to access specific project details in Datadog. Call /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": "property_attributes", "required": true, "description": "A JSON object with updated property details, including ID, name, type, and tags.", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "id": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "name": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "is_numerical": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "property_type": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "tags": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "is_seen_on_filtered_events": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null } }, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "requestBody" } ] }, "output": { "description": "Response from the API endpoint 'property_definitions_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}/property_definitions/{id}/", "http_method": "PUT", "headers": {}, "parameters": [ { "name": "id", "tool_parameter_name": "property_definition_id", "description": "A UUID string identifying this property definition.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "A UUID string identifying this property definition." }, "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": "requestBody", "tool_parameter_name": "property_attributes", "description": "", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "id": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "name": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "is_numerical": { "val_type": "boolean", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "property_type": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": null }, "tags": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": null }, "is_seen_on_filtered_events": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": 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 \"description\": \"Serializer mixin that resolves appropriate response for tags depending on license.\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 400\n },\n \"is_numerical\": {\n \"type\": \"boolean\"\n },\n \"property_type\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"DateTime\",\n \"String\",\n \"Numeric\",\n \"Boolean\",\n \"Duration\"\n ],\n \"type\": \"string\",\n \"description\": \"* `DateTime` - DateTime\\n* `String` - String\\n* `Numeric` - Numeric\\n* `Boolean` - Boolean\\n* `Duration` - Duration\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"is_seen_on_filtered_events\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n },\n \"required\": [\n \"id\",\n \"is_seen_on_filtered_events\",\n \"name\"\n ]\n }\n },\n \"application/x-www-form-urlencoded\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Serializer mixin that resolves appropriate response for tags depending on license.\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 400\n },\n \"is_numerical\": {\n \"type\": \"boolean\"\n },\n \"property_type\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"DateTime\",\n \"String\",\n \"Numeric\",\n \"Boolean\",\n \"Duration\"\n ],\n \"type\": \"string\",\n \"description\": \"* `DateTime` - DateTime\\n* `String` - String\\n* `Numeric` - Numeric\\n* `Boolean` - Boolean\\n* `Duration` - Duration\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"is_seen_on_filtered_events\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n },\n \"required\": [\n \"id\",\n \"is_seen_on_filtered_events\",\n \"name\"\n ]\n }\n },\n \"multipart/form-data\": {\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"Serializer mixin that resolves appropriate response for tags depending on license.\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uuid\",\n \"readOnly\": true\n },\n \"name\": {\n \"type\": \"string\",\n \"maxLength\": 400\n },\n \"is_numerical\": {\n \"type\": \"boolean\"\n },\n \"property_type\": {\n \"nullable\": true,\n \"oneOf\": [\n {\n \"enum\": [\n \"DateTime\",\n \"String\",\n \"Numeric\",\n \"Boolean\",\n \"Duration\"\n ],\n \"type\": \"string\",\n \"description\": \"* `DateTime` - DateTime\\n* `String` - String\\n* `Numeric` - Numeric\\n* `Boolean` - Boolean\\n* `Duration` - Duration\"\n },\n {\n \"enum\": [\n \"\"\n ]\n },\n {\n \"enum\": [\n null\n ]\n }\n ]\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {}\n },\n \"is_seen_on_filtered_events\": {\n \"type\": \"string\",\n \"readOnly\": true\n }\n },\n \"required\": [\n \"id\",\n \"is_seen_on_filtered_events\",\n \"name\"\n ]\n }\n }\n },\n \"required\": true\n}", "use_request_body_schema_mode": true, "validate_request_body_schema": true } }