naftiko: 1.0.0-alpha2 info: label: Microsoft OneNote API (Microsoft Graph) — SectionGroups description: 'Microsoft OneNote API (Microsoft Graph) — SectionGroups. 3 operations. Lead operation: List section groups in notebook. Self-contained Naftiko capability covering one Microsoft Onenote business surface.' tags: - Microsoft Onenote - SectionGroups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_ONENOTE_API_KEY: MICROSOFT_ONENOTE_API_KEY capability: consumes: - type: http namespace: microsoft-onenote-sectiongroups baseUri: https://graph.microsoft.com/v1.0 description: Microsoft OneNote API (Microsoft Graph) — SectionGroups business capability. Self-contained, no shared references. resources: - name: me-onenote-notebooks-notebookId-sectionGroups path: /me/onenote/notebooks/{notebookId}/sectionGroups operations: - name: listnotebooksectiongroups method: GET description: List section groups in notebook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnotebooksectiongroup method: POST description: Create section group in notebook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: me-onenote-sectionGroups path: /me/onenote/sectionGroups operations: - name: listsectiongroups method: GET description: List section groups outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_ONENOTE_API_KEY}}' exposes: - type: rest namespace: microsoft-onenote-sectiongroups-rest port: 8080 description: REST adapter for Microsoft OneNote API (Microsoft Graph) — SectionGroups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/me/onenote/notebooks/{notebookid}/sectiongroups name: me-onenote-notebooks-notebookid-sectiongroups description: REST surface for me-onenote-notebooks-notebookId-sectionGroups. operations: - method: GET name: listnotebooksectiongroups description: List section groups in notebook call: microsoft-onenote-sectiongroups.listnotebooksectiongroups outputParameters: - type: object mapping: $. - method: POST name: createnotebooksectiongroup description: Create section group in notebook call: microsoft-onenote-sectiongroups.createnotebooksectiongroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/me/onenote/sectiongroups name: me-onenote-sectiongroups description: REST surface for me-onenote-sectionGroups. operations: - method: GET name: listsectiongroups description: List section groups call: microsoft-onenote-sectiongroups.listsectiongroups outputParameters: - type: object mapping: $. - type: mcp namespace: microsoft-onenote-sectiongroups-mcp port: 9090 transport: http description: MCP adapter for Microsoft OneNote API (Microsoft Graph) — SectionGroups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-section-groups-notebook description: List section groups in notebook hints: readOnly: true destructive: false idempotent: true call: microsoft-onenote-sectiongroups.listnotebooksectiongroups outputParameters: - type: object mapping: $. - name: create-section-group-notebook description: Create section group in notebook hints: readOnly: false destructive: false idempotent: false call: microsoft-onenote-sectiongroups.createnotebooksectiongroup with: body: tools.body outputParameters: - type: object mapping: $. - name: list-section-groups description: List section groups hints: readOnly: true destructive: false idempotent: true call: microsoft-onenote-sectiongroups.listsectiongroups outputParameters: - type: object mapping: $.