{ "name": "LinkExternalIssue", "fully_qualified_name": "PylonApi.LinkExternalIssue@0.1.0", "description": "Link or unlink external issues to an internal issue.\n\nUse this tool to link external issues to an internal issue or unlink them by specifying the operation type. Ideal for managing issue relationships between different systems.", "toolkit": { "name": "PylonApi", "description": null, "version": "0.1.0" }, "input": { "parameters": [ { "name": "issue_identifier", "required": true, "description": "The unique ID or number of the internal issue to which external issues should be linked or unlinked.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID or number of the issue to link external issues to." }, "inferrable": true, "http_endpoint_parameter_name": "id" }, { "name": "external_issue_details", "required": false, "description": "JSON object containing details of the external issue, including `external_issue_id`, `operation` (link/unlink), and `source` system.", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "external_issue_id": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the external issue in the source system." }, "operation": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Operation to perform. Use \"link\" to link issues (default) or \"unlink\" to unlink issues." }, "source": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The source system of the external issue (e.g., \"linear\", \"asana\", \"jira\", \"github\")." } }, "inner_properties": null, "description": "" }, "inferrable": true, "http_endpoint_parameter_name": "requestBody" } ] }, "output": { "description": "Response from the API endpoint 'LinkExternalIssue'.", "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/issues/{id}/external-issues", "http_method": "POST", "headers": {}, "parameters": [ { "name": "id", "tool_parameter_name": "issue_identifier", "description": "The ID or number of the issue to link external issues to.", "value_schema": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID or number of the issue to link external issues to." }, "accepted_as": "path", "required": true, "deprecated": false, "default": null, "documentation_urls": [] }, { "name": "requestBody", "tool_parameter_name": "external_issue_details", "description": "", "value_schema": { "val_type": "json", "inner_val_type": null, "enum": null, "properties": { "external_issue_id": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The ID of the external issue in the source system." }, "operation": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "Operation to perform. Use \"link\" to link issues (default) or \"unlink\" to unlink issues." }, "source": { "val_type": "string", "inner_val_type": null, "enum": null, "properties": null, "inner_properties": null, "description": "The source system of the external issue (e.g., \"linear\", \"asana\", \"jira\", \"github\")." } }, "inner_properties": null, "description": "" }, "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 \"external_issue_id\": {\n \"description\": \"The ID of the external issue in the source system.\",\n \"type\": \"string\",\n \"x-go-name\": \"ExternalIssueID\"\n },\n \"operation\": {\n \"description\": \"Operation to perform. Use \\\"link\\\" to link issues (default) or \\\"unlink\\\" to unlink issues.\",\n \"type\": \"string\",\n \"x-go-name\": \"Operation\"\n },\n \"source\": {\n \"description\": \"The source system of the external issue (e.g., \\\"linear\\\", \\\"asana\\\", \\\"jira\\\", \\\"github\\\").\",\n \"type\": \"string\",\n \"x-go-name\": \"Source\"\n }\n },\n \"required\": [\n \"external_issue_id\",\n \"source\"\n ],\n \"type\": \"object\",\n \"x-go-package\": \"pylon/api/apiserver/endpoints\"\n }\n }\n },\n \"required\": false\n}", "use_request_body_schema_mode": true, "validate_request_body_schema": true } }