Add record
add_recordAdds one record to a collection an app declares, as the person this call acts for, the way the app's own page does, and returns it. A repeated call adds another record. Field values are written by the app's users.
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": {
"app_id": "<app_id>",
"collection": "<collection>",
"fields": "<fields>"
},
"name": "add_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | the app, as list_apps gave it | |
| fields | Yes | the new record's fields, as the collection declares them | |
| collection | Yes | a collection the app declares |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| record | Yes | the stored record |