naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Print — print.printTaskDefinition description: 'Microsoft Graph Print — print.printTaskDefinition. 14 operations. Lead operation: Microsoft Graph List taskDefinitions. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - print.printTaskDefinition created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: print-print-printtaskdefinition baseUri: '' description: Microsoft Graph Print — print.printTaskDefinition business capability. Self-contained, no shared references. resources: - name: print-taskDefinitions path: /print/taskDefinitions operations: - name: printlisttaskdefinitions method: GET description: Microsoft Graph List taskDefinitions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: printcreatetaskdefinitions method: POST description: Microsoft Graph Create printTaskDefinition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: print-taskDefinitions-$count path: /print/taskDefinitions/$count operations: - name: printtaskdefinitionsgetcountee04 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: print-taskDefinitions-printTaskDefinition-id path: /print/taskDefinitions/{printTaskDefinition-id} operations: - name: printgettaskdefinitions method: GET description: Microsoft Graph Get printTaskDefinition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: printupdatetaskdefinitions method: PATCH description: Microsoft Graph Update printTaskDefinition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: printdeletetaskdefinitions method: DELETE description: Microsoft Graph Delete printTaskDefinition outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: print-taskDefinitions-printTaskDefinition-id-tasks path: /print/taskDefinitions/{printTaskDefinition-id}/tasks operations: - name: printtaskdefinitionslisttasks method: GET description: Microsoft Graph List tasks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: printtaskdefinitionscreatetasks method: POST description: Microsoft Graph Create new navigation property to tasks for print outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: print-taskDefinitions-printTaskDefinition-id-tasks-$count path: /print/taskDefinitions/{printTaskDefinition-id}/tasks/$count operations: - name: printtaskdefinitionstasksgetcount0c4f method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: print-taskDefinitions-printTaskDefinition-id-tasks-printTask-id path: /print/taskDefinitions/{printTaskDefinition-id}/tasks/{printTask-id} operations: - name: printtaskdefinitionsgettasks method: GET description: Microsoft Graph Get printTask outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: printtaskdefinitionsupdatetasks method: PATCH description: Microsoft Graph Update printTask outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: printtaskdefinitionsdeletetasks method: DELETE description: Microsoft Graph Delete navigation property tasks for print outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag - name: print-taskDefinitions-printTaskDefinition-id-tasks-printTask-id-definition path: /print/taskDefinitions/{printTaskDefinition-id}/tasks/{printTask-id}/definition operations: - name: printtaskdefinitionstasksgetdefinition method: GET description: Microsoft Graph Get definition from print outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: print-taskDefinitions-printTaskDefinition-id-tasks-printTask-id-trigger path: /print/taskDefinitions/{printTaskDefinition-id}/tasks/{printTask-id}/trigger operations: - name: printtaskdefinitionstasksgettrigger method: GET description: Microsoft Graph Get trigger from print outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities exposes: - type: rest namespace: print-print-printtaskdefinition-rest port: 8080 description: REST adapter for Microsoft Graph Print — print.printTaskDefinition. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/print/taskdefinitions name: print-taskdefinitions description: REST surface for print-taskDefinitions. operations: - method: GET name: printlisttaskdefinitions description: Microsoft Graph List taskDefinitions call: print-print-printtaskdefinition.printlisttaskdefinitions with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: printcreatetaskdefinitions description: Microsoft Graph Create printTaskDefinition call: print-print-printtaskdefinition.printcreatetaskdefinitions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/count name: print-taskdefinitions-count description: REST surface for print-taskDefinitions-$count. operations: - method: GET name: printtaskdefinitionsgetcountee04 description: Microsoft Graph Get the number of the resource call: print-print-printtaskdefinition.printtaskdefinitionsgetcountee04 outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/{printtaskdefinition-id} name: print-taskdefinitions-printtaskdefinition-id description: REST surface for print-taskDefinitions-printTaskDefinition-id. operations: - method: GET name: printgettaskdefinitions description: Microsoft Graph Get printTaskDefinition call: print-print-printtaskdefinition.printgettaskdefinitions with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: printupdatetaskdefinitions description: Microsoft Graph Update printTaskDefinition call: print-print-printtaskdefinition.printupdatetaskdefinitions with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: printdeletetaskdefinitions description: Microsoft Graph Delete printTaskDefinition call: print-print-printtaskdefinition.printdeletetaskdefinitions with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/{printtaskdefinition-id}/tasks name: print-taskdefinitions-printtaskdefinition-id-tasks description: REST surface for print-taskDefinitions-printTaskDefinition-id-tasks. operations: - method: GET name: printtaskdefinitionslisttasks description: Microsoft Graph List tasks call: print-print-printtaskdefinition.printtaskdefinitionslisttasks with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: printtaskdefinitionscreatetasks description: Microsoft Graph Create new navigation property to tasks for print call: print-print-printtaskdefinition.printtaskdefinitionscreatetasks with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/{printtaskdefinition-id}/tasks/count name: print-taskdefinitions-printtaskdefinition-id-tasks-count description: REST surface for print-taskDefinitions-printTaskDefinition-id-tasks-$count. operations: - method: GET name: printtaskdefinitionstasksgetcount0c4f description: Microsoft Graph Get the number of the resource call: print-print-printtaskdefinition.printtaskdefinitionstasksgetcount0c4f outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/{printtaskdefinition-id}/tasks/{printtask-id} name: print-taskdefinitions-printtaskdefinition-id-tasks-printtask-id description: REST surface for print-taskDefinitions-printTaskDefinition-id-tasks-printTask-id. operations: - method: GET name: printtaskdefinitionsgettasks description: Microsoft Graph Get printTask call: print-print-printtaskdefinition.printtaskdefinitionsgettasks with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: printtaskdefinitionsupdatetasks description: Microsoft Graph Update printTask call: print-print-printtaskdefinition.printtaskdefinitionsupdatetasks with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: printtaskdefinitionsdeletetasks description: Microsoft Graph Delete navigation property tasks for print call: print-print-printtaskdefinition.printtaskdefinitionsdeletetasks with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/{printtaskdefinition-id}/tasks/{printtask-id}/definition name: print-taskdefinitions-printtaskdefinition-id-tasks-printtask-id-definition description: REST surface for print-taskDefinitions-printTaskDefinition-id-tasks-printTask-id-definition. operations: - method: GET name: printtaskdefinitionstasksgetdefinition description: Microsoft Graph Get definition from print call: print-print-printtaskdefinition.printtaskdefinitionstasksgetdefinition with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - path: /v1/print/taskdefinitions/{printtaskdefinition-id}/tasks/{printtask-id}/trigger name: print-taskdefinitions-printtaskdefinition-id-tasks-printtask-id-trigger description: REST surface for print-taskDefinitions-printTaskDefinition-id-tasks-printTask-id-trigger. operations: - method: GET name: printtaskdefinitionstasksgettrigger description: Microsoft Graph Get trigger from print call: print-print-printtaskdefinition.printtaskdefinitionstasksgettrigger with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - type: mcp namespace: print-print-printtaskdefinition-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Print — print.printTaskDefinition. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-taskdefinitions description: Microsoft Graph List taskDefinitions hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printlisttaskdefinitions with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-printtaskdefinition description: Microsoft Graph Create printTaskDefinition hints: readOnly: false destructive: false idempotent: false call: print-print-printtaskdefinition.printcreatetaskdefinitions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionsgetcountee04 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-printtaskdefinition description: Microsoft Graph Get printTaskDefinition hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printgettaskdefinitions with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-printtaskdefinition description: Microsoft Graph Update printTaskDefinition hints: readOnly: false destructive: false idempotent: true call: print-print-printtaskdefinition.printupdatetaskdefinitions with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-printtaskdefinition description: Microsoft Graph Delete printTaskDefinition hints: readOnly: false destructive: true idempotent: true call: print-print-printtaskdefinition.printdeletetaskdefinitions with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-list-tasks description: Microsoft Graph List tasks hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionslisttasks with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to tasks for print hints: readOnly: false destructive: false idempotent: false call: print-print-printtaskdefinition.printtaskdefinitionscreatetasks with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource-2 description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionstasksgetcount0c4f outputParameters: - type: object mapping: $. - name: microsoft-graph-get-printtask description: Microsoft Graph Get printTask hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionsgettasks with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-printtask description: Microsoft Graph Update printTask hints: readOnly: false destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionsupdatetasks with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property tasks for print hints: readOnly: false destructive: true idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionsdeletetasks with: If-Match: tools.If-Match outputParameters: - type: object mapping: $. - name: microsoft-graph-get-definition-print description: Microsoft Graph Get definition from print hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionstasksgetdefinition with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-get-trigger-print description: Microsoft Graph Get trigger from print hints: readOnly: true destructive: false idempotent: true call: print-print-printtaskdefinition.printtaskdefinitionstasksgettrigger with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $.