Leaf Agriculture · Capability

Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot

Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot. 2 operations. Lead operation: Leaf Agriculture Get RavenSlingshot prescription. Self-contained Naftiko capability covering one Leaf Agriculture business surface.

Run with Naftiko Leaf AgricultureAPI Reference > Beta > Prescription > RavenSlingshot

What You Can Do

GET
Get — Leaf Agriculture Get RavenSlingshot prescription
/v1/services/beta/prescription/api/users/{leaf-user-id}/ravenslingshot
POST
Post — Leaf Agriculture Upload RavenSlingshot prescription file
/v1/services/beta/prescription/api/users/{leaf-user-id}/ravenslingshot

MCP Tools

leaf-agriculture-get-ravenslingshot-prescription

Leaf Agriculture Get RavenSlingshot prescription

read-only idempotent
leaf-agriculture-upload-ravenslingshot-prescription

Leaf Agriculture Upload RavenSlingshot prescription file

Capability Spec

leaf-agriculture-api-reference-beta-prescription-ravenslingshot.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot
  description: 'Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot. 2 operations. Lead operation:
    Leaf Agriculture Get RavenSlingshot prescription. Self-contained Naftiko capability covering one Leaf Agriculture business
    surface.'
  tags:
  - Leaf Agriculture
  - API Reference > Beta > Prescription > RavenSlingshot
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LEAF_AGRICULTURE_API_KEY: LEAF_AGRICULTURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: leaf-agriculture-api-reference-beta-prescription-ravenslingshot
    baseUri: ''
    description: Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot business capability. Self-contained,
      no shared references.
    resources:
    - name: services-beta-prescription-api-users-leaf_user_id-ravenSlingshot
      path: /services/beta/prescription/api/users/{leaf_user_id}/ravenSlingshot
      operations:
      - name: get
        method: GET
        description: Leaf Agriculture Get RavenSlingshot prescription
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Authorization
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
      - name: post
        method: POST
        description: Leaf Agriculture Upload RavenSlingshot prescription file
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Content-Type
          in: header
          type: string
        - name: Authorization
          in: header
          type: string
        - name: leaf_user_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: leaf-agriculture-api-reference-beta-prescription-ravenslingshot-rest
    port: 8080
    description: REST adapter for Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/services/beta/prescription/api/users/{leaf-user-id}/ravenslingshot
      name: services-beta-prescription-api-users-leaf-user-id-ravenslingshot
      description: REST surface for services-beta-prescription-api-users-leaf_user_id-ravenSlingshot.
      operations:
      - method: GET
        name: get
        description: Leaf Agriculture Get RavenSlingshot prescription
        call: leaf-agriculture-api-reference-beta-prescription-ravenslingshot.get
        with:
          Content-Type: rest.Content-Type
          Authorization: rest.Authorization
          leaf_user_id: rest.leaf_user_id
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Leaf Agriculture Upload RavenSlingshot prescription file
        call: leaf-agriculture-api-reference-beta-prescription-ravenslingshot.post
        with:
          Content-Type: rest.Content-Type
          Authorization: rest.Authorization
          leaf_user_id: rest.leaf_user_id
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: leaf-agriculture-api-reference-beta-prescription-ravenslingshot-mcp
    port: 9090
    transport: http
    description: MCP adapter for Leaf Agriculture Leaf API — API Reference > Beta > Prescription > RavenSlingshot. One tool
      per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: leaf-agriculture-get-ravenslingshot-prescription
      description: Leaf Agriculture Get RavenSlingshot prescription
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: leaf-agriculture-api-reference-beta-prescription-ravenslingshot.get
      with:
        Content-Type: tools.Content-Type
        Authorization: tools.Authorization
        leaf_user_id: tools.leaf_user_id
      outputParameters:
      - type: object
        mapping: $.
    - name: leaf-agriculture-upload-ravenslingshot-prescription
      description: Leaf Agriculture Upload RavenSlingshot prescription file
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: leaf-agriculture-api-reference-beta-prescription-ravenslingshot.post
      with:
        Content-Type: tools.Content-Type
        Authorization: tools.Authorization
        leaf_user_id: tools.leaf_user_id
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.