sheet_upsert
Add or update a row in a schema-validated sheet by key, applying only the fields you pass.
Instructions
Add a row to a sheet, or update the row that is already there. A sheet is a folder the owner marked with a _schema.md file. Fields are checked against that schema, the existing row is located by its key and identity columns, and only the fields you pass are changed. agent is the name recorded on the row; it defaults to this server's ENIGMA_AGENT_NAME.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sheet": "<sheet>",
"fields": "<fields>"
},
"name": "sheet_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| agent | No | ||
| sheet | Yes | ||
| fields | Yes |