Create a table
Creates a table with typed columns: text, numbers with decimals or a currency, checkboxes, dates, choices, emails, links, phone numbers or files.
$0.001 a call
From your agent’s balance. A call that fails costs nothing.
An example
Make us a table to track workshop jobs: order number, customer, bike, the work, due date, status and price.
Your agent callstables_create$0.001 a call
The example business is Halverson Cycle & Repair, a bike shop with a repair workshop in Portland, Oregon. The reply is the one the tool really gives.
{
"name": "Workshop jobs",
"columns": [
{
"name": "Order",
"type": "text",
"required": true
},
{
"name": "Customer",
"type": "text"
},
{
"name": "Bike",
"type": "select",
"options": [
"Willamette 8",
"Tabor gravel",
"Ladd cargo"
]
},
{
"name": "Work",
"type": "text"
},
{
"name": "Due",
"type": "date"
},
{
"name": "Status",
"type": "select",
"options": [
"Waiting for parts",
"On the stand",
"Ready",
"Picked up"
]
},
{
"name": "Price",
"type": "number",
"currency": "USD"
}
]
}Use it when
The business tracks something in rows and columns that has no area of its own.
- For customers, companies and deals, use
crm_save_contact. - For tasks with statuses and assignees, use
tasks_create. - For stock of the business's products, use
inventory_save_items.
What it does
A table with typed columns: text, long_text, number (with decimals or a currency), checkbox, date, datetime, select and multi_select (with options), email, url, phone, or file (a file_id from the file store). Values are checked against their column on the way in. Up to 100 columns and 100,000 rows.
What comes back
table: its table_id, name, description, row count and columns. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
nameRequired | string | 1 to 80 characters. |
description | string | Up to 500 characters. |
columnsRequired | array of objects | 1 to 100 items. |
columns[].nameRequired | string | 1 to 60 characters. |
columns[].type | string | One of: text,long_text,number,checkbox,date,datetime,select,multi_select,email,url,phone,file. Default: text. |
columns[].required | boolean | |
columns[].options | array of strings | Up to 100 items. |
columns[].decimals | integer | 0 to 6. |
columns[].currency | string | Matches ^[A-Za-z]{3}$. |
The call
Over MCP, call tables_create on https://api.conecto.chat/mcp/tables. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/tables_create \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Workshop jobs","columns":[{"name":"Order","type":"text","required":true},{"name":"Customer","type":"text"},{"name":"Bike","type":"select","options":["Willamette 8","Tabor gravel","Ladd cargo"]},{"name":"Work","type":"text"},{"name":"Due","type":"date"},{"name":"Status","type":"select","options":["Waiting for parts","On the stand","Ready","Picked up"]},{"name":"Price","type":"number","currency":"USD"}]}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | A column has no name or a name in use, an unknown type, a select without options, or a currency that is not a 3-letter code. | Give each column its own name, a type from the list, and options for select columns. |
name_taken409 | A table has that name already. | Pick another name. |
limit_reached409 | The business has 50 tables already. | Delete one with tables_delete. |
More Tables tools
All 12 tools- List tables
tables_listEvery table with its columns and how many rows it has.Free* - Change columns
tables_change_columnsAdds, renames or removes columns; rows keep their values through a rename.$0.001 a call - Add rows
rows_addAdds up to 500 rows, each checked against its columns; if one is wrong, none is added.$0.001 per row added - Change rows
rows_updateChanges values in up to 500 rows by row number; only the columns given change, and null clears a cell.$0.001 per row changed - Add or update rows by a key
rows_upsertUpdates the rows whose key column matches and adds the rest, so a list from anywhere syncs without reading the table first.$0.001 per row added or updated - Find rows
rows_queryRows matching filters, all or any of them, sorted by up to 3 columns, a page at a time.Free* - Summarize rows
rows_summarizeCounts rows, and sums, averages, minimums and maximums of number columns, overall and per group, in one call.Free* - Delete rows
rows_deleteDeletes rows by their numbers, for good.Free
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md