invoicing_upsertPayment

WRITE

Upsert payment.

Parameters

paymentanyrequired
_operationenumrequired

Required. 'create' inserts a new record, 'update' modifies the existing record with this id.

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "invoicing_upsertPayment",
  "arguments": {
    "payment": "string",
    "_operation": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "payment": {},
    "_operation": {
      "type": "string",
      "enum": [
        "create",
        "update"
      ],
      "description": "Required. 'create' inserts a new record, 'update' modifies the existing record with this id."
    }
  },
  "required": [
    "payment",
    "_operation"
  ]
}