← MetalCONTENT HISTORY
WHAT CHANGED
Update to Metal
Snapshot Nov 23, 2026 · 18:22 UTC · version 0.2.8
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save Metal and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Use when the user wants to save results as a Metal list, create or rename a list, change its description or columns, or read, add or update list rows. Read before list writes because cell formats and record writeback have effects beyond the tool schemas.",
"included_files": [],
"name": "working-with-lists",
"skill_md_contents": "---\nname: working-with-lists\ndescription: \"Use when the user wants to save results as a Metal list, create or rename a list, change its description or columns, or read, add or update list rows. Read before list writes because cell formats and record writeback have effects beyond the tool schemas.\"\n---\n\n# Working with Metal Lists\n\nBefore starting, read [Safety and confirmation](../../references/safety.md) and apply it throughout this task.\n\nA Metal list is a table of rows with typed columns. On a typed list, such as a company or deal list, each row is linked to one Metal record. On a custom list (`resourceType: \"none\"`), rows are not linked to records.\n\n## What the tools can and cannot do\n\n- **Find and read:** `list_lists` (filter by `resourceType`), `get_list` for the columns, `get_list_entries` for the rows.\n- **Create and change:** `create_list`, `update_list` (name, description, primary key), `update_list_columns` (add, remove, rename), `add_list_entries`, `update_list_entry`.\n\nThese tools cannot delete a list or a row, filter or sort rows on the server, run AI enrichment, sync or refresh columns, share a list, or create a column that syncs a field from the linked record, other than the name column that `create_list` adds. They cannot create Score or Tags columns. When the user asks for one of these, tell them to do it in the Metal app. A list created here is private to the user until they share it in the app.\n\n## Choose the list's resource type\n\n- Use a typed list (`company`, `person`, `deal`, `dataEntity`, `activity`, `screening`, `limitedPartner`, `fundraisingProcess`, `fund`) when every row is an existing Metal record of that type. A `dataEntity` list holds documents, and every row must link a document.\n- Use `none` when the rows are not Metal records, mix record types, or are the user's own data.\n\n## Save results as a list\n\nWhen the user asks to save companies, people or deals that you showed them, the list must show what they saw. On a typed list, `create_list` adds a name column first. Apart from that, it creates exactly the columns you pass.\n\n1. Pick the resource type. Plan one column for each attribute you showed, in the same order, with the column type that fits the value (see Column types below).\n2. On a typed list, do not plan a name column. `create_list` adds one as the first column, such as \"Company Name\" on a company list, and it shows each row's linked record name and follows renames. Its tool description names the column for each list type. A text column you pass with that name is dropped. On a `none` list, make the first column a `string` column called `Name`; Metal shows a text column with that exact name as the row's name.\n3. Call `create_list`. Keep the column IDs from its result. Cell values are keyed by column ID, not by column name.\n4. Call `add_list_entries` with up to 1,000 rows per call. On a typed list, link each row to its record with `resourceId` and `resourceType`, copied from the search result where you found it. When a search returns several plausible records for one name, such as a full legal name and a similar trading name, ask the user which one. On a typed list, leave the name column out of `values`; it fills from the linked record. On a `none` list, write each row's name into `Name`.\n5. Check `failed[]` in the result (see Partial failures), then read the rows with `get_list_entries` and tell the user how many rows were saved and which were not.\n\nNever add a row to a company or person list without `resourceId`. Metal then tries to match the row to a record from its values, and it can create a new company or person record in the CRM. On a `none` list, omit `resourceId` and `resourceType`.\n\n## Column types\n\n`create_list` and `update_list_columns` take `{name, type}`. The value format below is what `add_list_entries` and `update_list_entry` accept.\n\n| `type` | Shown in Metal as | Write the cell as |\n|---|---|---|\n| `string` | Text | text |\n| `number` | Number | a number, such as `1250000` |\n| `boolean` | Checkbox | `true` or `false` |\n| `date` | Date | an ISO 8601 date, such as `\"2025-03-31\"` |\n| `currency` | Currency | `{\"unit\": \"USD\", \"value\": 1500000}`, where `unit` is a 3-letter ISO 4217 code and `value` is a number |\n| `percentage` | Percentage | a fraction: `0.25` for 25% |\n| `email` | Email | an email address |\n| `url` | URL | a URL, such as `\"https://example.com\"` |\n| `location` | Location | an object with any of `street1`, `street2`, `city`, `state`, `zip`, `country` and `position` (`{\"lat\", \"lng\"}`), such as `{\"city\": \"Boston\", \"state\": \"MA\", \"country\": \"US\"}` |\n| `user-list` | Users | an array of Metal user IDs |\n\nTwo more column kinds use `type: \"string\"`:\n\n- **List column** (a fixed set of choices): add `options`, such as `[\"High\", \"Medium\", \"Low\"]`. Each cell takes one of the option labels.\n- **Relationship column** (links each row to another record): add `foreignResourceType`. The valid targets depend on the list's resource type, and `create_list` lists them. On a typed list the link fills in from each row's record.\n\nFormats that are easy to get wrong:\n\n- A percentage is a fraction. `25` is stored as 2,500%.\n- A currency `value` must be a number. `\"$5M\"` and `\"5000000\"` fail. Convert \"$5M\" to `5000000`.\n- A date must be a calendar date. \"Q4 2025\" or \"FY25\" fails. Use the period-end date, such as `\"2025-12-31\"`, and tell the user you did.\n- `null` clears a cell.\n\n`get_list_entries` returns cells in the same formats, with three exceptions: a date comes back as an RFC3339 timestamp, a users cell comes back as `[{\"id\": \"<user ID>\", \"type\": \"user\"}]`, and a relationship cell carries the linked record's name.\n\n## Users columns\n\nA users cell holds user IDs, never names or emails.\n\n- Resolve each person with `search_users`. When the user means themselves, use `get_current_user`.\n- Treat a name as resolved only when one user clearly matches. When several match, ask the user which one, for example by email.\n- If no user matches, leave the cell unset and tell the user.\n- A write replaces the whole cell. To add a teammate to a cell that already has people, read the row with `get_list_entries`, take the `id` of each user in the cell, and write those ID strings plus the new one.\n\n## Relationship cells\n\n`get_list` lists relationship columns in `relationshipColumnIds`.\n\n- Resolve the linked record with its search tool, such as `search_companies` or `search_deals`. Never pass a name, and never make up an ID.\n- Write the cell as `{\"reference\": {\"id\": \"<record ID>\", \"type\": \"<type>\"}}`. `type` is the column's `foreignResourceType`, such as `company`, `deal`, `limited_partner` or `fundraising_process`.\n- On a typed list, omit the cell to keep the link that came from the row's record. On a `none` list, `{\"isNull\": true}` clears the link.\n- If no record matches, leave the cell unset and tell the user.\n\n## Partial failures\n\n`add_list_entries` returns `created` and `failed`. Each `failed` item has the `index` of the row in the entries you sent and an `error`. Rows that are not in `failed` were saved. When every row was saved, the result has no `failed` key.\n\n- Each error names the column and the format it expected, for example `invalid value for column Revenue: ... expected {\"unit\": \"USD\", \"value\": 1500000}`. Only the first problem in a row is reported, so a fixed row can fail again on another column.\n- Fix and resend only the failed rows. Never resend the whole batch: a row linked to a record that is already on the list fails with `resource already exists in list`, and a row without a record is added a second time.\n- A record can be on a list only once. On a list with a primary key, a duplicate key fails with `duplicate_pk: <value>`.\n- Tell the user which rows were not saved and why, in their terms.\n\n`update_list_entry` changes one row. A value in the wrong format fails the whole call.\n\n## Updating rows\n\n1. Find the row's entry ID with `get_list_entries`. An entry ID is not the record's ID.\n2. Pass only the cells whose value changes, keyed by column ID.\n\n### Mapped cells write back to the record\n\nA list can have mapped columns: in `get_list`, a column with a `mapping` that is not in `relationshipColumnIds`. The name column that `create_list` adds to a typed list is one, and lists created in the Metal app can have more. Updating a mapped cell can change the linked deal, company, person or other record, and through a CRM integration the CRM too. Ask even when `get_list` shows `settings.writeBackEnabled: false`, because that setting does not cover every list type. Before you update a mapped cell:\n\n1. Tell the user the record, the field, its current value and the new value, and that the change goes to the record and the CRM, not only to the list.\n2. Wait for the user to confirm.\n3. Update one row per confirmation, unless the user approved a set of rows by name.\n\nRelationship cells never write back.\n\n## Changing columns\n\n- Call `get_list` first. A typed list already has a name column, whether it was created in the Metal app or with `create_list`, so do not add a second one.\n- `update_list_columns` adds, removes and renames columns by column ID, in one call. Renames are applied first.\n- Removing a column deletes its values from every row. Confirm with the user before you remove a column that has values.\n- A column's type cannot be changed. Replacing it means removing the column and its values, then adding a new one. Confirm that with the user first.\n- On a `none` list, a primary key (`pkColumnId`) on a `string`, `email` or `url` column rejects duplicate values. It can be set or changed only while the list has no rows.\n\n## Renaming a list or changing its description\n\nRead the list with `get_list`, then confirm the proposed change. `update_list` takes the list's `id` and only the fields that change: `name`, `description` or `pkColumnId`. An omitted field stays unchanged; `description: \"\"` clears the description and `pkColumnId: \"\"` clears the primary key. A blank `name` does not rename the list. For an existing list, `pkColumnId` can be the exact column ID or name; on `create_list`, it names a proposed column because IDs do not exist yet. If list creation succeeds but setting the primary key fails, inspect that list and repair it with `update_list` rather than creating a duplicate.\n\n## Reading lists\n\n- Find a list with `list_lists`. When several lists match the user's words, ask which one.\n- `get_list_entries` returns up to 50 rows per page. Pass `nextToken` from the previous page until no token comes back.\n- These tools cannot filter rows. To answer \"which rows have revenue over $50M\", read every page and filter the rows yourself. Say how many rows you read.\n\n## Handling errors\n\nRead the error before you retry. Never resend an unchanged call after an invalid-input error, because the rejection will repeat.\n\n- **`invalid column type`:** the type is not in the Column types table. Score and Tags columns are created in the Metal app.\n- **`options require type string` or `relationship columns require type string`:** set `type` to `string`.\n- **`foreignResourceType ... is not valid on a ... list`:** the error lists the valid targets for that list type.\n- **`invalid value for column <name>`:** convert the value to the format the error names.\n- **`does not match any enum option`:** use one of the labels the error lists, or ask the user.\n- **`user ... not found in this org` or `invalid user id`:** resolve the person again with `search_users`.\n- **`the list may have been created, but the response was empty`:** check `list_lists` for the list before you call `create_list` again, so you do not create it twice.\n\nNever type a list, column, entry, record or user ID from memory. Copy it from a tool result.\n"
}SHA-256 of public snapshot: 7ec05033da89fb7fd22a8dd9a272b8bbb687176ee4a5650b394ab2bc682651a2