tx_admin_toc

Pack: texas-code · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/tx_admin_toc for the schema, then POST the same URL with its arguments for the data.

Browse the Texas Administrative Code hierarchy: no arguments lists the titles; title lists its parts with chapter ranges; title + chapter lists every rule number and heading in that chapter. Use to find the chapter or rule number before tx_admin_rule, or when a citation returned found:false.

Parameters

NameTypeRequiredDescription
titlestringnoTAC title number, e.g. “16”.
chapterstringnoChapter number, e.g. “26”. Requires title.
partstringnoOptional part number if known; otherwise worked out from the chapter.

Example call

Arguments

{
  "title": "22"
}

curl

curl -X POST https://gateway.pipeworx.io/texas-code/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tx_admin_toc","arguments":{"title":"22"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('tx_admin_toc', {
  "title": "22"
});

More examples

{
  "title": "16",
  "chapter": "26"
}

Response shape

FieldTypeDescription
sourcestring
notestring
hintstring
foundboolean
reasonstring
messagestring
levelstring
titlestring
chapterstring
returnednumber
pages_readnumber
truncatedboolean
titlesarray
partsarray
rulesarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "source": {
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "hint": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "reason": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "level": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "chapter": {
      "type": "string"
    },
    "returned": {
      "type": "number"
    },
    "pages_read": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "titles": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "parts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "rules": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule": {
            "type": "string"
          },
          "heading": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the texas-code pack
{
  "mcpServers": {
    "texas-code": {
      "url": "https://gateway.pipeworx.io/texas-code/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 21, 2026