Home / Servers / Asana API / create_enum_option_for_custom_field

Create an enum option

An MCP tool from the Asana API server, hosted on mcp.hjlabs.in.

Create an enum option Required scope: custom_fields:write Creates an enum option and adds it to this custom field’s list of enum options. A custom field can have at most 500 enum options (including disabled options). By… [POST /custom_fields/{custom_field_gid}/enum_options]

Name on the gateway: asana_api__create_enum_option_for_custom_field · may change things.

Parameters

NameTypeDescription
custom_field_gid requiredstringGlobally unique identifier for the custom field.
opt_prettybooleanProvides “pretty” output. Provides the response in a “pretty” format. In the…
opt_fieldsarrayThis endpoint returns a resource which excludes some properties by default. To…
dataobjectEnum options are the possible values which an enum custom field can adopt. An…

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "asana_api__create_enum_option_for_custom_field",
  "arguments": {
    "custom_field_gid": "…"
  }
}

Or connect the Asana API server directly, which lists 270 tools including this one:

Run in your terminal
claude mcp add --transport http hj-asana-api https://mcp.hjlabs.in/mcp/asana-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the create an enum option tool with custom_field_gid set to ….

More from Asana API