upsert_record
Update existing Kintone records or create new ones using a unique field key, ensuring data consistency by checking field structure before execution.
Instructions
重複禁止フィールド(updateKey)またはレコードIDをキーに、存在すれば更新・無ければ作成する upsert 機能を使用します。実行前に get_form_fields や get_form_layout でフィールド構造を確認し、利用するフィールドコードが最新であることをチェックしてから実行してください。各フィールドは { "value": ... } の形式で指定します。
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>",
"updateKey": "<updateKey>",
"fields": "<fields>"
},
"name": "upsert_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | kintoneアプリのID | |
| updateKey | Yes | 重複禁止フィールドを使用してレコードを特定 | |
| fields | Yes | レコードのフィールド値(各フィールドは { "value": ... } の形式で指定) |