naftiko: 1.0.0-alpha2 info: label: PostHog API — max_tools description: 'PostHog API — max_tools. 1 operations. Lead operation: max_tools. Self-contained Naftiko capability covering one Posthog business surface.' tags: - Posthog - max_tools created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: POSTHOG_API_KEY: POSTHOG_API_KEY capability: consumes: - type: http namespace: posthog-max-tools baseUri: '' description: PostHog API — max_tools business capability. Self-contained, no shared references. resources: - name: api-environments-project_id-max_tools-create_and_query_insight path: /api/environments/{project_id}/max_tools/create_and_query_insight/ operations: - name: maxtoolscreateandqueryinsightcreate method: POST description: '' outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.POSTHOG_API_KEY}}' exposes: - type: rest namespace: posthog-max-tools-rest port: 8080 description: REST adapter for PostHog API — max_tools. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/environments/{project-id}/max-tools/create-and-query-insight name: api-environments-project-id-max-tools-create-and-query-insight description: REST surface for api-environments-project_id-max_tools-create_and_query_insight. operations: - method: POST name: maxtoolscreateandqueryinsightcreate description: maxtoolscreateandqueryinsightcreate call: posthog-max-tools.maxtoolscreateandqueryinsightcreate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: posthog-max-tools-mcp port: 9090 transport: http description: MCP adapter for PostHog API — max_tools. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: maxtoolscreateandqueryinsightcreate description: maxtoolscreateandqueryinsightcreate hints: readOnly: true destructive: false idempotent: false call: posthog-max-tools.maxtoolscreateandqueryinsightcreate with: body: tools.body outputParameters: - type: object mapping: $.