335 lines
10 KiB
JSON
335 lines
10 KiB
JSON
{
|
|
"name": "CreateNewProject",
|
|
"fully_qualified_name": "PylonApi.CreateNewProject@0.1.0",
|
|
"description": "Create a new project seamlessly.\n\nThis tool is used to create a new project. It should be called when a user wants to initialize or start a new project within a system.",
|
|
"toolkit": {
|
|
"name": "PylonApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "project_name",
|
|
"required": true,
|
|
"description": "The name for the new project. This should be a descriptive and unique name to easily identify the project.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Name for this project"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "name"
|
|
},
|
|
{
|
|
"name": "account_id_for_project",
|
|
"required": true,
|
|
"description": "Account ID associated with the project. This identifies the account under which the project will be created.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Account ID for this project"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "account_id"
|
|
},
|
|
{
|
|
"name": "project_description_html",
|
|
"required": false,
|
|
"description": "HTML formatted description for the project, including any necessary tags and formatting.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Description HTML for this project"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "description_html"
|
|
},
|
|
{
|
|
"name": "start_date",
|
|
"required": false,
|
|
"description": "Start date for the project in RFC 3339 format (e.g., 2023-03-10T14:00:00Z).",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Start date for this project, in RFC 3339 format"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "start_date"
|
|
},
|
|
{
|
|
"name": "project_end_date",
|
|
"required": false,
|
|
"description": "End date for the project in RFC 3339 format. Indicates when the project is expected to be finished.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "End date for this project, in RFC 3339 format"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "end_date"
|
|
},
|
|
{
|
|
"name": "project_owner_id",
|
|
"required": false,
|
|
"description": "The unique identifier for the owner of the project. This is a string that specifies who will be managing or leading the project.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Owner ID for this project"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "owner_id"
|
|
},
|
|
{
|
|
"name": "project_template_id",
|
|
"required": false,
|
|
"description": "The ID of the template to be used for creating this project. It should match an existing project template ID.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Project template ID for this project"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "project_template_id"
|
|
},
|
|
{
|
|
"name": "customer_portal_visible",
|
|
"required": false,
|
|
"description": "Boolean indicating if the project should be visible in the customer portal. True makes it visible.",
|
|
"value_schema": {
|
|
"val_type": "boolean",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Customer portal visible for this project"
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "customer_portal_visible"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'CreateProject'.",
|
|
"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/projects",
|
|
"http_method": "POST",
|
|
"headers": {},
|
|
"parameters": [
|
|
{
|
|
"name": "name",
|
|
"tool_parameter_name": "project_name",
|
|
"description": "Name for this project",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Name for this project"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "description_html",
|
|
"tool_parameter_name": "project_description_html",
|
|
"description": "Description HTML for this project",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Description HTML for this project"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "customer_portal_visible",
|
|
"tool_parameter_name": "customer_portal_visible",
|
|
"description": "Customer portal visible for this project",
|
|
"value_schema": {
|
|
"val_type": "boolean",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Customer portal visible for this project"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "start_date",
|
|
"tool_parameter_name": "start_date",
|
|
"description": "Start date for this project, in RFC 3339 format",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Start date for this project, in RFC 3339 format"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "end_date",
|
|
"tool_parameter_name": "project_end_date",
|
|
"description": "End date for this project, in RFC 3339 format",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "End date for this project, in RFC 3339 format"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "account_id",
|
|
"tool_parameter_name": "account_id_for_project",
|
|
"description": "Account ID for this project",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Account ID for this project"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "owner_id",
|
|
"tool_parameter_name": "project_owner_id",
|
|
"description": "Owner ID for this project",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Owner ID for this project"
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"default": null,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "project_template_id",
|
|
"tool_parameter_name": "project_template_id",
|
|
"description": "Project template ID for this project",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Project template ID for this project"
|
|
},
|
|
"accepted_as": "query",
|
|
"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": null,
|
|
"use_request_body_schema_mode": false,
|
|
"validate_request_body_schema": false
|
|
}
|
|
}
|