{ "name": "UpdateExistingTeam", "fully_qualified_name": "PylonApi.UpdateExistingTeam@0.1.0", "description": "Update details of an existing team.\n\nUse this tool to modify the information of an existing team. Ideal for updating team names, members, or other details.", "toolkit": { "name": "PylonApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "team_id", "required": true, "description": "The ID of the team to update.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the team to update." }, "inferrable": true, "http_endpoint_parameter_name": "id" }, { "name": "team_name", "required": false, "description": "The new name for the team to be updated.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The name of the team." }, "inferrable": true, "http_endpoint_parameter_name": "name" }, { "name": "team_member_user_ids", "required": false, "description": "The list of user IDs to set as team members. This updates the team to include only these users.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": "The list of user IDs to add to the team. If provided, the team members will be updated to be exactly the given users." }, "inferrable": true, "http_endpoint_parameter_name": "user_ids" } ] }, "output": { "description": "Response from the API endpoint 'UpdateTeam'.", "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": "PYLON_SECRET_TOKEN" } ], "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 pylon API." }, "http_endpoint": { "metadata": { "object_type": "http_endpoint", "version": "1.2.0", "description": "" }, "url": "https://api.usepylon.com/teams/{id}", "http_method": "PATCH", "headers": {}, "parameters": [ { "name": "id", "tool_parameter_name": "team_id", "description": "The ID of the team to update.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the team to update." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "name", "tool_parameter_name": "team_name", "description": "The name of the team.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The name of the team." }, "accepted_as": "body", "required": false, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "user_ids", "tool_parameter_name": "team_member_user_ids", "description": "The list of user IDs to add to the team. If provided, the team members will be updated to be exactly the given users.", "value_schema": { "val_type": "array", "inner_val_type": "string", "enum": null, "properties": null, "inner_properties": null, "description": "The list of user IDs to add to the team. If provided, the team members will be updated to be exactly the given users." }, "accepted_as": "body", "required": false, "deprecated": false, "default": null, "documentation_urls": [] } ], "documentation_urls": [], "secrets": [ { "arcade_key": "PYLON_SECRET_TOKEN", "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 \"properties\": {\n \"name\": {\n \"description\": \"The name of the team.\",\n \"type\": \"string\",\n \"x-go-name\": \"Name\"\n },\n \"user_ids\": {\n \"description\": \"The list of user IDs to add to the team. If provided, the team members will be updated to be exactly the given users.\",\n \"items\": {\n \"type\": \"string\"\n },\n \"type\": \"array\",\n \"x-go-name\": \"UserIDs\"\n }\n },\n \"type\": \"object\",\n \"x-go-package\": \"pylon/api/apiserver/endpoints\"\n }\n }\n },\n \"required\": false\n}", "use_request_body_schema_mode": false, "validate_request_body_schema": false } }