On this page

Data tables

delete-column

Can be held for approval

Delete a column from a Data Table, and its values in every row. Irreversible. Needs the fabric:table.write grant.

curl -sS -X POST https://fabric.wexa.ai/mcp/$FABRIC_PROJECT_ID \
  -H "authorization: Bearer $FABRIC_API_KEY" \
  -H "Mcp-Session-Id: $MCP_SESSION_ID" \
  -H "content-type: application/json" -H "accept: application/json" \
  -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"delete-column","arguments":{"table_id":"6ab196817566f41b5c28e31f","column_id":"6ab1968193a7cbd766d5cd74"}}}'
{
  "content": [
    {
      "type": "text",
      "text": "{\"lifecycle_id\":\"qlc_000205\",\"result\":{\"deleted\":true,\"table_id\":\"6ab196817566f41b5c28e31f\",\"column_id\":\"6ab1968193a7cbd766d5cd74\"}}"
    }
  ],
  "isError": false
}

Parameters

ParameterTypeRequiredNotes
table_idstringRequiredTable id from list-tables, a 24-character hex id. A table in this project.
column_idstringRequiredColumn id from get-table. A column on that table. The column and its values in every row are removed.
Show full response

A real response, captured from a live call to delete-column:

{
  "lifecycle_id": "qlc_000205",
  "result": {
    "column_id": "6ab1968193a7cbd766d5cd74",
    "deleted": true,
    "table_id": "6ab196817566f41b5c28e31f"
  }
}

Every tool call works the same way: How every tool call works.