naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Organization — Organization.organization description: 'Microsoft Graph Organization — Organization.organization. 6 operations. Lead operation: Microsoft Graph List organizations. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Organization.organization 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: organization-organization-organization baseUri: '' description: Microsoft Graph Organization — Organization.organization business capability. Self-contained, no shared references. resources: - name: organization path: /organization operations: - name: organizationorganizationlistorganization method: GET description: Microsoft Graph List organizations 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: organizationorganizationcreateorganization method: POST description: Microsoft Graph Add new entity to organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: organization-$count path: /organization/$count operations: - name: organizationgetcount9453 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organization-organization-id path: /organization/{organization-id} operations: - name: organizationorganizationgetorganization method: GET description: Microsoft Graph Get organization 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: organizationorganizationupdateorganization method: PATCH description: Microsoft Graph Update organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: organizationorganizationdeleteorganization method: DELETE description: Microsoft Graph Delete entity from organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: organization-organization-organization-rest port: 8080 description: REST adapter for Microsoft Graph Organization — Organization.organization. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organization name: organization description: REST surface for organization. operations: - method: GET name: organizationorganizationlistorganization description: Microsoft Graph List organizations call: organization-organization-organization.organizationorganizationlistorganization with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: organizationorganizationcreateorganization description: Microsoft Graph Add new entity to organization call: organization-organization-organization.organizationorganizationcreateorganization with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/organization/count name: organization-count description: REST surface for organization-$count. operations: - method: GET name: organizationgetcount9453 description: Microsoft Graph Get the number of the resource call: organization-organization-organization.organizationgetcount9453 outputParameters: - type: object mapping: $. - path: /v1/organization/{organization-id} name: organization-organization-id description: REST surface for organization-organization-id. operations: - method: GET name: organizationorganizationgetorganization description: Microsoft Graph Get organization call: organization-organization-organization.organizationorganizationgetorganization with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: organizationorganizationupdateorganization description: Microsoft Graph Update organization call: organization-organization-organization.organizationorganizationupdateorganization with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: organizationorganizationdeleteorganization description: Microsoft Graph Delete entity from organization call: organization-organization-organization.organizationorganizationdeleteorganization with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: organization-organization-organization-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Organization — Organization.organization. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-list-organizations description: Microsoft Graph List organizations hints: readOnly: true destructive: false idempotent: true call: organization-organization-organization.organizationorganizationlistorganization with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-add-new-entity description: Microsoft Graph Add new entity to organization hints: readOnly: false destructive: false idempotent: false call: organization-organization-organization.organizationorganizationcreateorganization 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: organization-organization-organization.organizationgetcount9453 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-organization description: Microsoft Graph Get organization hints: readOnly: true destructive: false idempotent: true call: organization-organization-organization.organizationorganizationgetorganization with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-organization description: Microsoft Graph Update organization hints: readOnly: false destructive: false idempotent: true call: organization-organization-organization.organizationorganizationupdateorganization with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-entity-organization description: Microsoft Graph Delete entity from organization hints: readOnly: false destructive: true idempotent: true call: organization-organization-organization.organizationorganizationdeleteorganization with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.