View as Markdown
Incorta icon

Incorta ACTION

List Columns

Lists the columns (name, label, data type, function) of a specific table or view in an Incorta tenant, via the REST API. Requires Schema Name and Table Name — use List Schemas then List Tables first if you don't already know them. Use the returned column names when writing a SELECT list or WHERE clause in Execute SQL Query. Example: calling with Schema Name pipedream_store and Table Name customer returns entries like {name: "CustomerID", dataType: "integer", function: "key"}. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Incorta account once, then configure and run List Columns from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "incorta-list-columns",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    incorta: { authProvisionId: "apn_xxxxxxx" },
    schemaName: "Schema Name",
    tableName: "Table Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

List Columns inputs
Property Type Description
schemaName Schema Name string
Name of an Incorta schema (a logical grouping of tables/views), e.g. pipedream_store. Corresponds to the schemaName field returned by List Schemas.
Required
tableName Table Name string
Name of a table or view inside the given schema, e.g. customer. Corresponds to the tableName field returned by List Tables.
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
incorta-list-columns
Version
0.0.1
App
Incorta
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes