naftiko: 1.0.0-alpha2 info: label: Asana — Project Templates description: 'Asana — Project Templates. 5 operations. Lead operation: Asana Get multiple project templates. Self-contained Naftiko capability covering one Asana business surface.' tags: - Asana - Project Templates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ASANA_API_KEY: ASANA_API_KEY capability: consumes: - type: http namespace: asana-project-templates baseUri: https://app.asana.com/api/1.0 description: Asana — Project Templates business capability. Self-contained, no shared references. resources: - name: project_templates path: /project_templates operations: - name: getprojecttemplates method: GET description: Asana Get multiple project templates 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: project_templates-project_template_gid path: /project_templates/{project_template_gid} operations: - name: getprojecttemplate method: GET description: Asana Get a project template 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: deleteprojecttemplate method: DELETE description: Asana Delete a project template outputRawFormat: json outputParameters: - name: result type: object value: $. - name: project_templates-project_template_gid-instantiateProject path: /project_templates/{project_template_gid}/instantiateProject operations: - name: instantiateproject method: POST description: Asana Instantiate a project from a project template 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: false - name: teams-team_gid-project_templates path: /teams/{team_gid}/project_templates operations: - name: getprojecttemplatesforteam method: GET description: Asana Get a team's project templates 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-project-templates-rest port: 8080 description: REST adapter for Asana — Project Templates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/project-templates name: project-templates description: REST surface for project_templates. operations: - method: GET name: getprojecttemplates description: Asana Get multiple project templates call: asana-project-templates.getprojecttemplates with: opt_fields: rest.opt_fields outputParameters: - type: object mapping: $. - path: /v1/project-templates/{project-template-gid} name: project-templates-project-template-gid description: REST surface for project_templates-project_template_gid. operations: - method: GET name: getprojecttemplate description: Asana Get a project template call: asana-project-templates.getprojecttemplate with: opt_fields: rest.opt_fields outputParameters: - type: object mapping: $. - method: DELETE name: deleteprojecttemplate description: Asana Delete a project template call: asana-project-templates.deleteprojecttemplate outputParameters: - type: object mapping: $. - path: /v1/project-templates/{project-template-gid}/instantiateproject name: project-templates-project-template-gid-instantiateproject description: REST surface for project_templates-project_template_gid-instantiateProject. operations: - method: POST name: instantiateproject description: Asana Instantiate a project from a project template call: asana-project-templates.instantiateproject with: opt_fields: rest.opt_fields body: rest.body outputParameters: - type: object mapping: $. - path: /v1/teams/{team-gid}/project-templates name: teams-team-gid-project-templates description: REST surface for teams-team_gid-project_templates. operations: - method: GET name: getprojecttemplatesforteam description: Asana Get a team's project templates call: asana-project-templates.getprojecttemplatesforteam with: opt_fields: rest.opt_fields outputParameters: - type: object mapping: $. - type: mcp namespace: asana-project-templates-mcp port: 9090 transport: http description: MCP adapter for Asana — Project Templates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: asana-get-multiple-project-templates description: Asana Get multiple project templates hints: readOnly: true destructive: false idempotent: true call: asana-project-templates.getprojecttemplates with: opt_fields: tools.opt_fields outputParameters: - type: object mapping: $. - name: asana-get-project-template description: Asana Get a project template hints: readOnly: true destructive: false idempotent: true call: asana-project-templates.getprojecttemplate with: opt_fields: tools.opt_fields outputParameters: - type: object mapping: $. - name: asana-delete-project-template description: Asana Delete a project template hints: readOnly: false destructive: true idempotent: true call: asana-project-templates.deleteprojecttemplate outputParameters: - type: object mapping: $. - name: asana-instantiate-project-project-template description: Asana Instantiate a project from a project template hints: readOnly: false destructive: false idempotent: false call: asana-project-templates.instantiateproject with: opt_fields: tools.opt_fields body: tools.body outputParameters: - type: object mapping: $. - name: asana-get-team-s-project-templates description: Asana Get a team's project templates hints: readOnly: true destructive: false idempotent: true call: asana-project-templates.getprojecttemplatesforteam with: opt_fields: tools.opt_fields outputParameters: - type: object mapping: $.