fet_entity_upsert
Insert or update a timetable entity by providing document ID, entity kind, and JSON field values; omit the index to append a new entry.
Instructions
Insert or update an entity. fields is a JSON object mirroring XML children (e.g. Subject: {Name, Long_Name, Code, Comments}). Omit index to append.
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": {
"documentId": "<documentId>",
"kind": "<kind>",
"fields": "<fields>"
},
"name": "fet_entity_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| index | No | ||
| fields | Yes | ||
| documentId | Yes |