naftiko: 1.0.0-alpha2 info: label: Asana Project Templates API — Project Templates description: 'Asana Project Templates API — 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: project-templates-project-templates baseUri: https://app.asana.com/api/1.0 description: Asana Project Templates API — 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: workspace in: query type: string - name: team in: query type: string - name: limit in: query type: integer - name: offset in: query type: string - 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: project_template_gid in: path type: string required: true - name: deleteprojecttemplate method: DELETE description: Asana Delete a project template outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: project_template_gid in: path type: string required: true - 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: project_template_gid in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - 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: team_gid in: path type: string required: true - name: limit in: query type: integer - name: offset in: query type: string authentication: type: bearer token: '{{env.ASANA_API_KEY}}' exposes: - type: rest namespace: project-templates-project-templates-rest port: 8080 description: REST adapter for Asana Project Templates API — 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: project-templates-project-templates.getprojecttemplates with: workspace: rest.workspace team: rest.team limit: rest.limit offset: rest.offset 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: project-templates-project-templates.getprojecttemplate with: project_template_gid: rest.project_template_gid outputParameters: - type: object mapping: $. - method: DELETE name: deleteprojecttemplate description: Asana Delete a project template call: project-templates-project-templates.deleteprojecttemplate with: project_template_gid: rest.project_template_gid 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: project-templates-project-templates.instantiateproject with: project_template_gid: rest.project_template_gid 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: project-templates-project-templates.getprojecttemplatesforteam with: team_gid: rest.team_gid limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - type: mcp namespace: project-templates-project-templates-mcp port: 9090 transport: http description: MCP adapter for Asana Project Templates API — 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: project-templates-project-templates.getprojecttemplates with: workspace: tools.workspace team: tools.team limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: asana-get-project-template description: Asana Get a project template hints: readOnly: true destructive: false idempotent: true call: project-templates-project-templates.getprojecttemplate with: project_template_gid: tools.project_template_gid outputParameters: - type: object mapping: $. - name: asana-delete-project-template description: Asana Delete a project template hints: readOnly: false destructive: true idempotent: true call: project-templates-project-templates.deleteprojecttemplate with: project_template_gid: tools.project_template_gid 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: project-templates-project-templates.instantiateproject with: project_template_gid: tools.project_template_gid 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: project-templates-project-templates.getprojecttemplatesforteam with: team_gid: tools.team_gid limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $.