arcade-mcp/toolkits/asana_api/arcade_asana_api/wrapper_tools/CreateSectionInProject.json
jottakka de742ff4f1
[MOAR][Asana][Github] Adding GitHub and Asana starter toolkits (#663)
Co-authored-by: Francisco Liberal <francisco@arcade.dev>
2025-10-30 18:21:34 -03:00

270 lines
12 KiB
JSON

{
"name": "CreateSectionInProject",
"fully_qualified_name": "AsanaApi.CreateSectionInProject@0.1.0",
"description": "Create a new section in an Asana project.\n\nUse this tool to create a new section within a specified Asana project. It returns the complete details of the newly added section, helping you organize tasks by sections.",
"toolkit": {
"name": "AsanaApi",
"description": null,
"version": "0.1.0"
},
"input": {
"parameters": [
{
"name": "project_global_id",
"required": true,
"description": "Globally unique identifier for the project in which to create the section.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Globally unique identifier for the project."
},
"inferrable": true,
"http_endpoint_parameter_name": "project_gid"
},
{
"name": "include_optional_properties",
"required": false,
"description": "Comma-separated list of optional properties to include in the response.",
"value_schema": {
"val_type": "array",
"inner_val_type": "string",
"enum": null,
"properties": null,
"inner_properties": null,
"description": "This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include."
},
"inferrable": true,
"http_endpoint_parameter_name": "opt_fields"
},
{
"name": "section_name",
"required": false,
"description": "The name to display as the section title in the project. This cannot be empty.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The text to be displayed as the section name. This cannot be an empty string."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.name"
},
{
"name": "insert_before_section_id",
"required": false,
"description": "ID of an existing section in the project before which the new section will be inserted. Cannot be used with 'insert_after_section_id'.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "An existing section within this project before which the added section should be inserted. Cannot be provided together with insert_after."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.insert_before"
},
{
"name": "insert_after_section_id",
"required": false,
"description": "ID of an existing section to insert the new section after. Cannot be used with insert_before_section_id.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "An existing section within this project after which the added section should be inserted. Cannot be provided together with insert_before."
},
"inferrable": true,
"http_endpoint_parameter_name": "data.insert_after"
},
{
"name": "enable_pretty_output",
"required": false,
"description": "Set to true for a readable response format with line breaks and indentation. Use for debugging only.",
"value_schema": {
"val_type": "boolean",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Provides \u201cpretty\u201d output.\nProvides the response in a \u201cpretty\u201d format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."
},
"inferrable": true,
"http_endpoint_parameter_name": "opt_pretty"
}
]
},
"output": {
"description": "Response from the API endpoint 'createSectionForProject'.",
"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": {
"provider_id": "arcade-asana",
"provider_type": "oauth2",
"id": null,
"oauth2": null
},
"secrets": null,
"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 asana API."
},
"http_endpoint": {
"metadata": {
"object_type": "http_endpoint",
"version": "1.2.0",
"description": ""
},
"url": "https://app.asana.com/api/1.0/projects/{project_gid}/sections",
"http_method": "POST",
"headers": {},
"parameters": [
{
"name": "opt_pretty",
"tool_parameter_name": "enable_pretty_output",
"description": "Provides \u201cpretty\u201d output.\nProvides the response in a \u201cpretty\u201d format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.",
"value_schema": {
"val_type": "boolean",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Provides \u201cpretty\u201d output.\nProvides the response in a \u201cpretty\u201d format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging."
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "opt_fields",
"tool_parameter_name": "include_optional_properties",
"description": "This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.",
"value_schema": {
"val_type": "array",
"inner_val_type": "string",
"enum": null,
"properties": null,
"inner_properties": null,
"description": "This endpoint returns a resource which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include."
},
"accepted_as": "query",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "project_gid",
"tool_parameter_name": "project_global_id",
"description": "Globally unique identifier for the project.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "Globally unique identifier for the project."
},
"accepted_as": "path",
"required": true,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.name",
"tool_parameter_name": "section_name",
"description": "The text to be displayed as the section name. This cannot be an empty string.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "The text to be displayed as the section name. This cannot be an empty string."
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.insert_before",
"tool_parameter_name": "insert_before_section_id",
"description": "An existing section within this project before which the added section should be inserted. Cannot be provided together with insert_after.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "An existing section within this project before which the added section should be inserted. Cannot be provided together with insert_after."
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
},
{
"name": "data.insert_after",
"tool_parameter_name": "insert_after_section_id",
"description": "An existing section within this project after which the added section should be inserted. Cannot be provided together with insert_before.",
"value_schema": {
"val_type": "string",
"inner_val_type": null,
"enum": null,
"properties": null,
"inner_properties": null,
"description": "An existing section within this project after which the added section should be inserted. Cannot be provided together with insert_before."
},
"accepted_as": "body",
"required": false,
"deprecated": false,
"default": null,
"documentation_urls": []
}
],
"documentation_urls": [],
"secrets": [
{
"arcade_key": "auth_token",
"parameter_name": "Authorization",
"accepted_as": "header",
"formatted_value": "Bearer {authorization}",
"description": "The OAuth token to use for authentication.",
"is_auth_token": true
}
],
"request_body_spec": "{\n \"description\": \"The section to create.\",\n \"content\": {\n \"application/json\": {\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"data\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": {\n \"description\": \"The text to be displayed as the section name. This cannot be an empty string.\",\n \"type\": \"string\",\n \"example\": \"Next Actions\"\n },\n \"insert_before\": {\n \"description\": \"An existing section within this project before which the added section should be inserted. Cannot be provided together with insert_after.\",\n \"type\": \"string\",\n \"example\": \"86420\"\n },\n \"insert_after\": {\n \"description\": \"An existing section within this project after which the added section should be inserted. Cannot be provided together with insert_before.\",\n \"type\": \"string\",\n \"example\": \"987654\"\n }\n },\n \"required\": [\n \"name\"\n ]\n }\n }\n }\n }\n }\n}",
"use_request_body_schema_mode": false,
"validate_request_body_schema": false
}
}