Azure Synapse Analytics · Capability

Azure Synapse Analytics - SQL Script API — SqlScript

Azure Synapse Analytics - SQL Script API — SqlScript. 5 operations. Lead operation: Azure Synapse Analytics List SQL scripts. Self-contained Naftiko capability covering one Microsoft Azure Synapse Analytics business surface.

Run with Naftiko Microsoft Azure Synapse AnalyticsSqlScript

What You Can Do

GET
Sqlscriptgetsqlscriptsbyworkspace — Azure Synapse Analytics List SQL scripts
/v1/sqlscripts
GET
Sqlscriptgetsqlscript — Azure Synapse Analytics Get a SQL script
/v1/sqlscripts/{sqlscriptname}
PUT
Sqlscriptcreateorupdatesqlscript — Azure Synapse Analytics Create or update a SQL script
/v1/sqlscripts/{sqlscriptname}
DELETE
Sqlscriptdeletesqlscript — Azure Synapse Analytics Delete a SQL script
/v1/sqlscripts/{sqlscriptname}
POST
Sqlscriptrenamesqlscript — Azure Synapse Analytics Rename a SQL script
/v1/sqlscripts/{sqlscriptname}/rename

MCP Tools

azure-synapse-analytics-list-sql

Azure Synapse Analytics List SQL scripts

read-only idempotent
azure-synapse-analytics-get-sql

Azure Synapse Analytics Get a SQL script

read-only idempotent
azure-synapse-analytics-create-update

Azure Synapse Analytics Create or update a SQL script

idempotent
azure-synapse-analytics-delete-sql

Azure Synapse Analytics Delete a SQL script

idempotent
azure-synapse-analytics-rename-sql

Azure Synapse Analytics Rename a SQL script

Capability Spec

azure-synapse-analytics-sql-script-sqlscript.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Azure Synapse Analytics - SQL Script API — SqlScript
  description: 'Azure Synapse Analytics - SQL Script API — SqlScript. 5 operations. Lead operation: Azure Synapse Analytics
    List SQL scripts. Self-contained Naftiko capability covering one Microsoft Azure Synapse Analytics business surface.'
  tags:
  - Microsoft Azure Synapse Analytics
  - SqlScript
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_SYNAPSE_ANALYTICS_API_KEY: MICROSOFT_AZURE_SYNAPSE_ANALYTICS_API_KEY
capability:
  consumes:
  - type: http
    namespace: azure-synapse-analytics-sql-script-sqlscript
    baseUri: https://{workspaceName}.dev.azuresynapse.net
    description: Azure Synapse Analytics - SQL Script API — SqlScript business capability. Self-contained, no shared references.
    resources:
    - name: sqlScripts
      path: /sqlScripts
      operations:
      - name: sqlscriptgetsqlscriptsbyworkspace
        method: GET
        description: Azure Synapse Analytics List SQL scripts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sqlScripts-sqlScriptName
      path: /sqlScripts/{sqlScriptName}
      operations:
      - name: sqlscriptgetsqlscript
        method: GET
        description: Azure Synapse Analytics Get a SQL script
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-None-Match
          in: header
          type: string
      - name: sqlscriptcreateorupdatesqlscript
        method: PUT
        description: Azure Synapse Analytics Create or update a SQL script
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sqlscriptdeletesqlscript
        method: DELETE
        description: Azure Synapse Analytics Delete a SQL script
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sqlScripts-sqlScriptName-rename
      path: /sqlScripts/{sqlScriptName}/rename
      operations:
      - name: sqlscriptrenamesqlscript
        method: POST
        description: Azure Synapse Analytics Rename a SQL script
        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.MICROSOFT_AZURE_SYNAPSE_ANALYTICS_API_KEY}}'
  exposes:
  - type: rest
    namespace: azure-synapse-analytics-sql-script-sqlscript-rest
    port: 8080
    description: REST adapter for Azure Synapse Analytics - SQL Script API — SqlScript. One Spectral-compliant resource per
      consumed operation, prefixed with /v1.
    resources:
    - path: /v1/sqlscripts
      name: sqlscripts
      description: REST surface for sqlScripts.
      operations:
      - method: GET
        name: sqlscriptgetsqlscriptsbyworkspace
        description: Azure Synapse Analytics List SQL scripts
        call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptgetsqlscriptsbyworkspace
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sqlscripts/{sqlscriptname}
      name: sqlscripts-sqlscriptname
      description: REST surface for sqlScripts-sqlScriptName.
      operations:
      - method: GET
        name: sqlscriptgetsqlscript
        description: Azure Synapse Analytics Get a SQL script
        call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptgetsqlscript
        with:
          If-None-Match: rest.If-None-Match
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: sqlscriptcreateorupdatesqlscript
        description: Azure Synapse Analytics Create or update a SQL script
        call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptcreateorupdatesqlscript
        with:
          If-Match: rest.If-Match
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sqlscriptdeletesqlscript
        description: Azure Synapse Analytics Delete a SQL script
        call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptdeletesqlscript
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sqlscripts/{sqlscriptname}/rename
      name: sqlscripts-sqlscriptname-rename
      description: REST surface for sqlScripts-sqlScriptName-rename.
      operations:
      - method: POST
        name: sqlscriptrenamesqlscript
        description: Azure Synapse Analytics Rename a SQL script
        call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptrenamesqlscript
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: azure-synapse-analytics-sql-script-sqlscript-mcp
    port: 9090
    transport: http
    description: MCP adapter for Azure Synapse Analytics - SQL Script API — SqlScript. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: azure-synapse-analytics-list-sql
      description: Azure Synapse Analytics List SQL scripts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptgetsqlscriptsbyworkspace
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-synapse-analytics-get-sql
      description: Azure Synapse Analytics Get a SQL script
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptgetsqlscript
      with:
        If-None-Match: tools.If-None-Match
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-synapse-analytics-create-update
      description: Azure Synapse Analytics Create or update a SQL script
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptcreateorupdatesqlscript
      with:
        If-Match: tools.If-Match
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-synapse-analytics-delete-sql
      description: Azure Synapse Analytics Delete a SQL script
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptdeletesqlscript
      outputParameters:
      - type: object
        mapping: $.
    - name: azure-synapse-analytics-rename-sql
      description: Azure Synapse Analytics Rename a SQL script
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: azure-synapse-analytics-sql-script-sqlscript.sqlscriptrenamesqlscript
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.