# Edit financing terms

`deals.update_terms`

Patch any supplied financing terms; omitted fields stay unchanged. Read deals.get_terms first for expected_revision. Currency applies to all financing amounts and does not convert values. Equipment entries replace the complete list when supplied; preserve rows you want to keep, and use [] to clear. Omitted row fields are cleared. This does not submit or fund an application. Null clears nullable fields. An identical retry does not apply the edit again and returns the current visible terms, which may include later edits.

[Deals guide](https://docs.levr.ai/mcp/resources/deals.md)

Availability depends on live discovery and your access to the record. Do not infer MCP calls from REST paths.

Operation: write. Required OAuth scopes: mcp.

## Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "changes": {
      "additionalProperties": false,
      "minProperties": 1,
      "properties": {
        "actual_interest_rate": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "additional_notes": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "advance_rate_percent": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "advisory_fee_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "advisory_fee_percent": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "buy_rate": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "commission_actual_payment_date": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "commission_notes": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "commission_status": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "currency": {
          "anyOf": [
            {
              "pattern": "^[A-Za-z]{3}$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deal_length_interval": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deal_length_value": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "deal_revenue": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deal_status": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "deal_type": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "disbursed_date": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "equipment_entries": {
          "description": "The complete equipment list. Replaces the existing list when supplied; [] clears it.",
          "items": {
            "additionalProperties": false,
            "properties": {
              "equipment_condition": {
                "anyOf": [
                  {
                    "maxLength": 255,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "equipment_description": {
                "anyOf": [
                  {
                    "maxLength": 10000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "equipment_manufacturer_make_model": {
                "anyOf": [
                  {
                    "maxLength": 10000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "equipment_structure": {
                "anyOf": [
                  {
                    "maxLength": 10000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "equipment_type": {
                "anyOf": [
                  {
                    "maxLength": 255,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "equipment_value_or_cost": {
                "anyOf": [
                  {
                    "pattern": "^[0-9]{1,10}(?:\\.[0-9]{1,2})?$",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "equipment_vendor_or_supplier": {
                "anyOf": [
                  {
                    "maxLength": 10000,
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "position": {
                "minimum": 0,
                "type": "integer"
              }
            },
            "type": "object"
          },
          "maxItems": 100,
          "type": "array"
        },
        "factor_rate": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "financing_type": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "funded_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "is_stacked_deal": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "is_syndication": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ]
        },
        "maturity_date": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "net_funded_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "not_applicable_fields": {
          "items": {
            "type": "string"
          },
          "maxItems": 64,
          "type": "array"
        },
        "notes_to_accounting": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "nr_payments": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "offered_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "origination_fee_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "origination_fee_percent": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "other_fee": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "other_fee_description": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "payment_frequency_interval": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "processing_fee": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "property_loan_to_value": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "property_type": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "property_use": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "property_value": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "proposed_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "real_estate_property_address": {
          "anyOf": [
            {
              "maxProperties": 64,
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "renewal_followup_date": {
          "anyOf": [
            {
              "format": "date",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "repayment_holdback_percentage": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "repayment_payment_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "requested_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "sell_rate": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "stacked_with": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "syndication_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "syndication_percent": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "target_interest_rate": {
          "anyOf": [
            {
              "maxLength": 10000,
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "total_repayment_amount": {
          "anyOf": [
            {
              "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "type": "object"
    },
    "deal_id": {
      "description": "Copy id from deals.list. Prefix: deal_.",
      "pattern": "^deal_[a-z0-9]+$",
      "type": "string"
    },
    "expected_revision": {
      "description": "Copy revision unchanged from deals.get_terms.",
      "minimum": 0,
      "type": "integer"
    },
    "idempotency_key": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "provider_slug": {
      "description": "Copy provider_slug from providers.list; named slugs are valid.",
      "pattern": "^[a-zA-Z0-9_-]{1,64}$",
      "type": "string"
    }
  },
  "required": [
    "provider_slug",
    "deal_id",
    "expected_revision",
    "idempotency_key",
    "changes"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "oneOf": [
    {
      "not": {
        "required": [
          "error"
        ]
      },
      "properties": {
        "ok": {
          "const": true
        }
      },
      "required": [
        "data"
      ]
    },
    {
      "not": {
        "required": [
          "data"
        ]
      },
      "properties": {
        "ok": {
          "const": false
        }
      },
      "required": [
        "error"
      ]
    }
  ],
  "properties": {
    "data": {
      "additionalProperties": false,
      "properties": {
        "deal_id": {
          "description": "Copy id from deals.list. Prefix: deal_.",
          "type": "string"
        },
        "revision": {
          "type": "integer"
        },
        "terms": {
          "additionalProperties": false,
          "properties": {
            "actual_interest_rate": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "additional_notes": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "advance_rate_percent": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "advisory_fee_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "advisory_fee_percent": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "buy_rate": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "commission_actual_payment_date": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "commission_notes": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "commission_status": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "currency": {
              "anyOf": [
                {
                  "pattern": "^[A-Za-z]{3}$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "deal_length_interval": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "deal_length_value": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "deal_revenue": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "deal_status": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "deal_type": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "disbursed_date": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "equipment_entries": {
              "description": "The complete equipment list. Replaces the existing list when supplied; [] clears it.",
              "items": {
                "additionalProperties": false,
                "properties": {
                  "equipment_condition": {
                    "anyOf": [
                      {
                        "maxLength": 255,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "equipment_description": {
                    "anyOf": [
                      {
                        "maxLength": 10000,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "equipment_manufacturer_make_model": {
                    "anyOf": [
                      {
                        "maxLength": 10000,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "equipment_structure": {
                    "anyOf": [
                      {
                        "maxLength": 10000,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "equipment_type": {
                    "anyOf": [
                      {
                        "maxLength": 255,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "equipment_value_or_cost": {
                    "anyOf": [
                      {
                        "pattern": "^[0-9]{1,10}(?:\\.[0-9]{1,2})?$",
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "equipment_vendor_or_supplier": {
                    "anyOf": [
                      {
                        "maxLength": 10000,
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "position": {
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "type": "object"
              },
              "maxItems": 100,
              "type": "array"
            },
            "factor_rate": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "financing_type": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "funded_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "is_stacked_deal": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "is_syndication": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "maturity_date": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "net_funded_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "not_applicable_fields": {
              "items": {
                "type": "string"
              },
              "maxItems": 64,
              "type": "array"
            },
            "notes_to_accounting": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "nr_payments": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ]
            },
            "offered_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "origination_fee_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "origination_fee_percent": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "other_fee": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "other_fee_description": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "payment_frequency_interval": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "processing_fee": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "property_loan_to_value": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "property_type": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "property_use": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "property_value": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "proposed_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "real_estate_property_address": {
              "anyOf": [
                {
                  "maxProperties": 64,
                  "type": "object"
                },
                {
                  "type": "null"
                }
              ]
            },
            "renewal_followup_date": {
              "anyOf": [
                {
                  "format": "date",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "repayment_holdback_percentage": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "repayment_payment_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "requested_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sell_rate": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "stacked_with": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "syndication_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "syndication_percent": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "target_interest_rate": {
              "anyOf": [
                {
                  "maxLength": 10000,
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "total_repayment_amount": {
              "anyOf": [
                {
                  "pattern": "^-?[0-9]{1,12}(?:\\.[0-9]{1,3})?$",
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            }
          },
          "type": "object"
        }
      },
      "required": [
        "deal_id",
        "revision",
        "terms"
      ],
      "type": "object"
    },
    "error": {
      "additionalProperties": false,
      "properties": {
        "code": {
          "type": "string"
        },
        "details": {
          "additionalProperties": true,
          "description": "Optional bounded, agent-safe correction or recovery facts.",
          "type": "object"
        },
        "message": {
          "type": "string"
        },
        "retryable": {
          "type": "boolean"
        }
      },
      "required": [
        "code",
        "message",
        "retryable"
      ],
      "type": "object"
    },
    "meta": {
      "additionalProperties": false,
      "properties": {
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "request_id"
      ],
      "type": "object"
    },
    "ok": {
      "description": "Whether the tool completed successfully.",
      "type": "boolean"
    }
  },
  "required": [
    "ok",
    "meta"
  ],
  "type": "object"
}
```

Check the result, then read the affected record to confirm your change.
