Asana · Capability

Asana — Tasks

Asana — Tasks. 27 operations. Lead operation: Asana Get tasks from a project. Self-contained Naftiko capability covering one Asana business surface.

Run with Naftiko AsanaTasks

What You Can Do

GET
Gettasksforproject — Asana Get tasks from a project
/v1/projects/{project-gid}/tasks
GET
Gettasksforsection — Asana Get tasks from a section
/v1/sections/{section-gid}/tasks
GET
Gettasksfortag — Asana Get tasks from a tag
/v1/tags/{tag-gid}/tasks
GET
Gettasks — Asana Get multiple tasks
/v1/tasks
POST
Createtask — Asana Create a task
/v1/tasks
GET
Gettask — Asana Get a task
/v1/tasks/{task-gid}
PUT
Updatetask — Asana Update a task
/v1/tasks/{task-gid}
DELETE
Deletetask — Asana Delete a task
/v1/tasks/{task-gid}
POST
Adddependenciesfortask — Asana Set dependencies for a task
/v1/tasks/{task-gid}/adddependencies
POST
Adddependentsfortask — Asana Set dependents for a task
/v1/tasks/{task-gid}/adddependents
POST
Addfollowersfortask — Asana Add followers to a task
/v1/tasks/{task-gid}/addfollowers
POST
Addprojectfortask — Asana Add a project to a task
/v1/tasks/{task-gid}/addproject
POST
Addtagfortask — Asana Add a tag to a task
/v1/tasks/{task-gid}/addtag
GET
Getdependenciesfortask — Asana Get dependencies from a task
/v1/tasks/{task-gid}/dependencies
GET
Getdependentsfortask — Asana Get dependents from a task
/v1/tasks/{task-gid}/dependents
POST
Duplicatetask — Asana Duplicate a task
/v1/tasks/{task-gid}/duplicate
POST
Removedependenciesfortask — Asana Unlink dependencies from a task
/v1/tasks/{task-gid}/removedependencies
POST
Removedependentsfortask — Asana Unlink dependents from a task
/v1/tasks/{task-gid}/removedependents
POST
Removefollowerfortask — Asana Remove followers from a task
/v1/tasks/{task-gid}/removefollowers
POST
Removeprojectfortask — Asana Remove a project from a task
/v1/tasks/{task-gid}/removeproject
POST
Removetagfortask — Asana Remove a tag from a task
/v1/tasks/{task-gid}/removetag
POST
Setparentfortask — Asana Set the parent of a task
/v1/tasks/{task-gid}/setparent
GET
Getsubtasksfortask — Asana Get subtasks from a task
/v1/tasks/{task-gid}/subtasks
POST
Createsubtaskfortask — Asana Create a subtask
/v1/tasks/{task-gid}/subtasks
GET
Gettasksforusertasklist — Asana Get tasks from a user task list
/v1/user-task-lists/{user-task-list-gid}/tasks
GET
Gettaskforcustomid — Asana Get a task for a given custom ID
/v1/workspaces/{workspace-gid}/tasks/custom-id/{custom-id}
GET
Searchtasksforworkspace — Asana Search tasks in a workspace
/v1/workspaces/{workspace-gid}/tasks/search

MCP Tools

asana-get-tasks-project

Asana Get tasks from a project

read-only idempotent
asana-get-tasks-section

Asana Get tasks from a section

read-only idempotent
asana-get-tasks-tag

Asana Get tasks from a tag

read-only idempotent
asana-get-multiple-tasks

Asana Get multiple tasks

read-only idempotent
asana-create-task

Asana Create a task

asana-get-task

Asana Get a task

read-only idempotent
asana-update-task

Asana Update a task

idempotent
asana-delete-task

Asana Delete a task

idempotent
asana-set-dependencies-task

Asana Set dependencies for a task

asana-set-dependents-task

Asana Set dependents for a task

asana-add-followers-task

Asana Add followers to a task

asana-add-project-task

Asana Add a project to a task

asana-add-tag-task

Asana Add a tag to a task

asana-get-dependencies-task

Asana Get dependencies from a task

read-only idempotent
asana-get-dependents-task

Asana Get dependents from a task

read-only idempotent
asana-duplicate-task

Asana Duplicate a task

asana-unlink-dependencies-task

Asana Unlink dependencies from a task

asana-unlink-dependents-task

Asana Unlink dependents from a task

asana-remove-followers-task

Asana Remove followers from a task

asana-remove-project-task

Asana Remove a project from a task

asana-remove-tag-task

Asana Remove a tag from a task

asana-set-parent-task

Asana Set the parent of a task

asana-get-subtasks-task

Asana Get subtasks from a task

read-only idempotent
asana-create-subtask

Asana Create a subtask

asana-get-tasks-user-task

Asana Get tasks from a user task list

read-only idempotent
asana-get-task-given-custom

Asana Get a task for a given custom ID

read-only idempotent
asana-search-tasks-workspace

Asana Search tasks in a workspace

read-only idempotent

Capability Spec

asana-tasks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Asana — Tasks
  description: 'Asana — Tasks. 27 operations. Lead operation: Asana Get tasks from a project. Self-contained Naftiko capability
    covering one Asana business surface.'
  tags:
  - Asana
  - Tasks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ASANA_API_KEY: ASANA_API_KEY
capability:
  consumes:
  - type: http
    namespace: asana-tasks
    baseUri: https://app.asana.com/api/1.0
    description: Asana — Tasks business capability. Self-contained, no shared references.
    resources:
    - name: projects-project_gid-tasks
      path: /projects/{project_gid}/tasks
      operations:
      - name: gettasksforproject
        method: GET
        description: Asana Get tasks from a project
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    - name: sections-section_gid-tasks
      path: /sections/{section_gid}/tasks
      operations:
      - name: gettasksforsection
        method: GET
        description: Asana Get tasks from a section
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    - name: tags-tag_gid-tasks
      path: /tags/{tag_gid}/tasks
      operations:
      - name: gettasksfortag
        method: GET
        description: Asana Get tasks from a tag
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    - name: tasks
      path: /tasks
      operations:
      - name: gettasks
        method: GET
        description: Asana Get multiple tasks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: assignee
          in: query
          type: string
          description: The assignee to filter tasks on. If searching for unassigned tasks, assignee.any = null can be specified.
        - name: project
          in: query
          type: string
          description: The project to filter tasks on.
        - name: section
          in: query
          type: string
          description: The section to filter tasks on.
        - name: workspace
          in: query
          type: string
          description: The workspace to filter tasks on.
        - name: completed_since
          in: query
          type: string
          description: Only return tasks that are either incomplete or that have been completed since this time.
        - name: modified_since
          in: query
          type: string
          description: Only return tasks that have been modified since the given time.
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
      - name: createtask
        method: POST
        description: Asana Create a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid
      path: /tasks/{task_gid}
      operations:
      - name: gettask
        method: GET
        description: Asana Get a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
      - name: updatetask
        method: PUT
        description: Asana Update a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletetask
        method: DELETE
        description: Asana Delete a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: tasks-task_gid-addDependencies
      path: /tasks/{task_gid}/addDependencies
      operations:
      - name: adddependenciesfortask
        method: POST
        description: Asana Set dependencies for a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-addDependents
      path: /tasks/{task_gid}/addDependents
      operations:
      - name: adddependentsfortask
        method: POST
        description: Asana Set dependents for a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-addFollowers
      path: /tasks/{task_gid}/addFollowers
      operations:
      - name: addfollowersfortask
        method: POST
        description: Asana Add followers to a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-addProject
      path: /tasks/{task_gid}/addProject
      operations:
      - name: addprojectfortask
        method: POST
        description: Asana Add a project to a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-addTag
      path: /tasks/{task_gid}/addTag
      operations:
      - name: addtagfortask
        method: POST
        description: Asana Add a tag to a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-dependencies
      path: /tasks/{task_gid}/dependencies
      operations:
      - name: getdependenciesfortask
        method: GET
        description: Asana Get dependencies from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    - name: tasks-task_gid-dependents
      path: /tasks/{task_gid}/dependents
      operations:
      - name: getdependentsfortask
        method: GET
        description: Asana Get dependents from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    - name: tasks-task_gid-duplicate
      path: /tasks/{task_gid}/duplicate
      operations:
      - name: duplicatetask
        method: POST
        description: Asana Duplicate a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-removeDependencies
      path: /tasks/{task_gid}/removeDependencies
      operations:
      - name: removedependenciesfortask
        method: POST
        description: Asana Unlink dependencies from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-removeDependents
      path: /tasks/{task_gid}/removeDependents
      operations:
      - name: removedependentsfortask
        method: POST
        description: Asana Unlink dependents from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-removeFollowers
      path: /tasks/{task_gid}/removeFollowers
      operations:
      - name: removefollowerfortask
        method: POST
        description: Asana Remove followers from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-removeProject
      path: /tasks/{task_gid}/removeProject
      operations:
      - name: removeprojectfortask
        method: POST
        description: Asana Remove a project from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-removeTag
      path: /tasks/{task_gid}/removeTag
      operations:
      - name: removetagfortask
        method: POST
        description: Asana Remove a tag from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-setParent
      path: /tasks/{task_gid}/setParent
      operations:
      - name: setparentfortask
        method: POST
        description: Asana Set the parent of a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: tasks-task_gid-subtasks
      path: /tasks/{task_gid}/subtasks
      operations:
      - name: getsubtasksfortask
        method: GET
        description: Asana Get subtasks from a task
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
      - name: createsubtaskfortask
        method: POST
        description: Asana Create a subtask
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: user_task_lists-user_task_list_gid-tasks
      path: /user_task_lists/{user_task_list_gid}/tasks
      operations:
      - name: gettasksforusertasklist
        method: GET
        description: Asana Get tasks from a user task list
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    - name: workspaces-workspace_gid-tasks-custom_id-custom_id
      path: /workspaces/{workspace_gid}/tasks/custom_id/{custom_id}
      operations:
      - name: gettaskforcustomid
        method: GET
        description: Asana Get a task for a given custom ID
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: workspaces-workspace_gid-tasks-search
      path: /workspaces/{workspace_gid}/tasks/search
      operations:
      - name: searchtasksforworkspace
        method: GET
        description: Asana Search tasks in a workspace
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: opt_fields
          in: query
          type: array
          description: This endpoint returns a compact resource, which excludes some properties by default. To include those
            optional properties, set this query parameter to a comma-s
    authentication:
      type: bearer
      token: '{{env.ASANA_API_KEY}}'
  exposes:
  - type: rest
    namespace: asana-tasks-rest
    port: 8080
    description: REST adapter for Asana — Tasks. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{project-gid}/tasks
      name: projects-project-gid-tasks
      description: REST surface for projects-project_gid-tasks.
      operations:
      - method: GET
        name: gettasksforproject
        description: Asana Get tasks from a project
        call: asana-tasks.gettasksforproject
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sections/{section-gid}/tasks
      name: sections-section-gid-tasks
      description: REST surface for sections-section_gid-tasks.
      operations:
      - method: GET
        name: gettasksforsection
        description: Asana Get tasks from a section
        call: asana-tasks.gettasksforsection
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tags/{tag-gid}/tasks
      name: tags-tag-gid-tasks
      description: REST surface for tags-tag_gid-tasks.
      operations:
      - method: GET
        name: gettasksfortag
        description: Asana Get tasks from a tag
        call: asana-tasks.gettasksfortag
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks
      name: tasks
      description: REST surface for tasks.
      operations:
      - method: GET
        name: gettasks
        description: Asana Get multiple tasks
        call: asana-tasks.gettasks
        with:
          assignee: rest.assignee
          project: rest.project
          section: rest.section
          workspace: rest.workspace
          completed_since: rest.completed_since
          modified_since: rest.modified_since
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createtask
        description: Asana Create a task
        call: asana-tasks.createtask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}
      name: tasks-task-gid
      description: REST surface for tasks-task_gid.
      operations:
      - method: GET
        name: gettask
        description: Asana Get a task
        call: asana-tasks.gettask
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatetask
        description: Asana Update a task
        call: asana-tasks.updatetask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletetask
        description: Asana Delete a task
        call: asana-tasks.deletetask
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/adddependencies
      name: tasks-task-gid-adddependencies
      description: REST surface for tasks-task_gid-addDependencies.
      operations:
      - method: POST
        name: adddependenciesfortask
        description: Asana Set dependencies for a task
        call: asana-tasks.adddependenciesfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/adddependents
      name: tasks-task-gid-adddependents
      description: REST surface for tasks-task_gid-addDependents.
      operations:
      - method: POST
        name: adddependentsfortask
        description: Asana Set dependents for a task
        call: asana-tasks.adddependentsfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/addfollowers
      name: tasks-task-gid-addfollowers
      description: REST surface for tasks-task_gid-addFollowers.
      operations:
      - method: POST
        name: addfollowersfortask
        description: Asana Add followers to a task
        call: asana-tasks.addfollowersfortask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/addproject
      name: tasks-task-gid-addproject
      description: REST surface for tasks-task_gid-addProject.
      operations:
      - method: POST
        name: addprojectfortask
        description: Asana Add a project to a task
        call: asana-tasks.addprojectfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/addtag
      name: tasks-task-gid-addtag
      description: REST surface for tasks-task_gid-addTag.
      operations:
      - method: POST
        name: addtagfortask
        description: Asana Add a tag to a task
        call: asana-tasks.addtagfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/dependencies
      name: tasks-task-gid-dependencies
      description: REST surface for tasks-task_gid-dependencies.
      operations:
      - method: GET
        name: getdependenciesfortask
        description: Asana Get dependencies from a task
        call: asana-tasks.getdependenciesfortask
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/dependents
      name: tasks-task-gid-dependents
      description: REST surface for tasks-task_gid-dependents.
      operations:
      - method: GET
        name: getdependentsfortask
        description: Asana Get dependents from a task
        call: asana-tasks.getdependentsfortask
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/duplicate
      name: tasks-task-gid-duplicate
      description: REST surface for tasks-task_gid-duplicate.
      operations:
      - method: POST
        name: duplicatetask
        description: Asana Duplicate a task
        call: asana-tasks.duplicatetask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/removedependencies
      name: tasks-task-gid-removedependencies
      description: REST surface for tasks-task_gid-removeDependencies.
      operations:
      - method: POST
        name: removedependenciesfortask
        description: Asana Unlink dependencies from a task
        call: asana-tasks.removedependenciesfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/removedependents
      name: tasks-task-gid-removedependents
      description: REST surface for tasks-task_gid-removeDependents.
      operations:
      - method: POST
        name: removedependentsfortask
        description: Asana Unlink dependents from a task
        call: asana-tasks.removedependentsfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/removefollowers
      name: tasks-task-gid-removefollowers
      description: REST surface for tasks-task_gid-removeFollowers.
      operations:
      - method: POST
        name: removefollowerfortask
        description: Asana Remove followers from a task
        call: asana-tasks.removefollowerfortask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/removeproject
      name: tasks-task-gid-removeproject
      description: REST surface for tasks-task_gid-removeProject.
      operations:
      - method: POST
        name: removeprojectfortask
        description: Asana Remove a project from a task
        call: asana-tasks.removeprojectfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/removetag
      name: tasks-task-gid-removetag
      description: REST surface for tasks-task_gid-removeTag.
      operations:
      - method: POST
        name: removetagfortask
        description: Asana Remove a tag from a task
        call: asana-tasks.removetagfortask
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/setparent
      name: tasks-task-gid-setparent
      description: REST surface for tasks-task_gid-setParent.
      operations:
      - method: POST
        name: setparentfortask
        description: Asana Set the parent of a task
        call: asana-tasks.setparentfortask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/tasks/{task-gid}/subtasks
      name: tasks-task-gid-subtasks
      description: REST surface for tasks-task_gid-subtasks.
      operations:
      - method: GET
        name: getsubtasksfortask
        description: Asana Get subtasks from a task
        call: asana-tasks.getsubtasksfortask
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createsubtaskfortask
        description: Asana Create a subtask
        call: asana-tasks.createsubtaskfortask
        with:
          opt_fields: rest.opt_fields
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user-task-lists/{user-task-list-gid}/tasks
      name: user-task-lists-user-task-list-gid-tasks
      description: REST surface for user_task_lists-user_task_list_gid-tasks.
      operations:
      - method: GET
        name: gettasksforusertasklist
        description: Asana Get tasks from a user task list
        call: asana-tasks.gettasksforusertasklist
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace-gid}/tasks/custom-id/{custom-id}
      name: workspaces-workspace-gid-tasks-custom-id-custom-id
      description: REST surface for workspaces-workspace_gid-tasks-custom_id-custom_id.
      operations:
      - method: GET
        name: gettaskforcustomid
        description: Asana Get a task for a given custom ID
        call: asana-tasks.gettaskforcustomid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/workspaces/{workspace-gid}/tasks/search
      name: workspaces-workspace-gid-tasks-search
      description: REST surface for workspaces-workspace_gid-tasks-search.
      operations:
      - method: GET
        name: searchtasksforworkspace
        description: Asana Search tasks in a workspace
        call: asana-tasks.searchtasksforworkspace
        with:
          opt_fields: rest.opt_fields
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: asana-tasks-mcp
    port: 9090
    transport: http
    description: MCP adapter for Asana — Tasks. One tool per consumed operation, routed inline through this capability's consumes
      block.
    tools:
    - name: asana-get-tasks-project
      description: Asana Get tasks from a project
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: asana-tasks.gettasksforproject
      with:
        opt_fields: tools.opt_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-get-tasks-section
      description: Asana Get tasks from a section
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: asana-tasks.gettasksforsection
      with:
        opt_fields: tools.opt_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-get-tasks-tag
      description: Asana Get tasks from a tag
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: asana-tasks.gettasksfortag
      with:
        opt_fields: tools.opt_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-get-multiple-tasks
      description: Asana Get multiple tasks
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: asana-tasks.gettasks
      with:
        assignee: tools.assignee
        project: tools.project
        section: tools.section
        workspace: tools.workspace
        completed_since: tools.completed_since
        modified_since: tools.modified_since
        opt_fields: tools.opt_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-create-task
      description: Asana Create a task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: asana-tasks.createtask
      with:
        opt_fields: tools.opt_fields
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-get-task
      description: Asana Get a task
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: asana-tasks.gettask
      with:
        opt_fields: tools.opt_fields
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-update-task
      description: Asana Update a task
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: asana-tasks.updatetask
      with:
        opt_fields: tools.opt_fields
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-delete-task
      description: Asana Delete a task
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: asana-tasks.deletetask
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-set-dependencies-task
      description: Asana Set dependencies for a task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: asana-tasks.adddependenciesfortask
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-set-dependents-task
      description: Asana Set dependents for a task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: asana-tasks.adddependentsfortask
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-add-followers-task
      description: Asana Add followers to a task
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: asana-tasks.addfollowersfortask
      with:
        opt_fields: tools.opt_fields
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: asana-add-project-task
      description: Asana Add a project to a 

# --- truncated at 32 KB (37 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/asana/refs/heads/main/capabilities/asana-tasks.yaml