---
title: "List Tables"
description: "List workspace tables and their field metadata."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/table/list-tables"
---
# List Tables

> List workspace tables and their field metadata.

<block-meta block="Yes" channels="Any" folder="table" group="Table" groupTo="/build/workflows/blocks/table" icon="i-lucide-table" pipe="Value" scope="Any" tool="Yes" type="table.list_tables">



</block-meta>

**List Tables** returns every table in the workspace that this run can access, with field metadata. There is nothing to configure.

Use [Get Table Info](https://docs.vettero.com/build/workflows/blocks/table/get-table-info) when you already know the table.

## Configure

No settings. The dialog only explains that the block lists tables at run time.

## Handles

<table>
<thead>
  <tr>
    <th>
      Handle
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        In
      </strong>
      
       (target)
    </td>
    
    <td>
      Incoming connection
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Out
      </strong>
      
       (source)
    </td>
    
    <td>
      Continues after the list is loaded
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

The next block reads this on the data pipe (`pipe.value`). The value is a **list** of table objects. Each item includes:

<table>
<thead>
  <tr>
    <th>
      Key
    </th>
    
    <th>
      Type
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <code>
        id
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Table id
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        name
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Table name
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        description
      </code>
    </td>
    
    <td>
      text
    </td>
    
    <td>
      Description when set
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        fields
      </code>
    </td>
    
    <td>
      list
    </td>
    
    <td>
      Field metadata for that table
    </td>
  </tr>
</tbody>
</table>

## Use case

- Let an [agent](https://docs.vettero.com/build/agents) discover which tables exist before calling find or insert.
- Drive a [List](https://docs.vettero.com/build/workflows/blocks/out/list) of table names in chat.

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
