Google Flutter · Capability

Google Flutter Pub.dev API — Documentation

Google Flutter Pub.dev API — Documentation. 1 operations. Lead operation: Google Flutter Get package documentation. Self-contained Naftiko capability covering one Google Flutter business surface.

Run with Naftiko Google FlutterDocumentation

What You Can Do

GET
Getpackagedocs — Google Flutter Get package documentation
/v1/documentation/{package}/latest

MCP Tools

google-flutter-get-package-documentation

Google Flutter Get package documentation

read-only idempotent

Capability Spec

flutter-pub-dev-documentation.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Flutter Pub.dev API — Documentation
  description: 'Google Flutter Pub.dev API — Documentation. 1 operations. Lead operation: Google Flutter Get package documentation.
    Self-contained Naftiko capability covering one Google Flutter business surface.'
  tags:
  - Google Flutter
  - Documentation
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_FLUTTER_API_KEY: GOOGLE_FLUTTER_API_KEY
capability:
  consumes:
  - type: http
    namespace: flutter-pub-dev-documentation
    baseUri: https://pub.dev/api
    description: Google Flutter Pub.dev API — Documentation business capability. Self-contained, no shared references.
    resources:
    - name: documentation-package-latest
      path: /documentation/{package}/latest/
      operations:
      - name: getpackagedocs
        method: GET
        description: Google Flutter Get package documentation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: flutter-pub-dev-documentation-rest
    port: 8080
    description: REST adapter for Google Flutter Pub.dev API — Documentation. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/documentation/{package}/latest
      name: documentation-package-latest
      description: REST surface for documentation-package-latest.
      operations:
      - method: GET
        name: getpackagedocs
        description: Google Flutter Get package documentation
        call: flutter-pub-dev-documentation.getpackagedocs
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: flutter-pub-dev-documentation-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Flutter Pub.dev API — Documentation. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: google-flutter-get-package-documentation
      description: Google Flutter Get package documentation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: flutter-pub-dev-documentation.getpackagedocs
      outputParameters:
      - type: object
        mapping: $.