Convert document
icount_convert_documentConvert a document to another type. Omit conversionType to list valid options, then provide one to perform the actual conversion.
Instructions
Convert a document to another type (e.g. offer -> order). Omit conversionType to first list the valid conversion options for this document; pass one of those values back in conversionType to perform the actual conversion.
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": {
"doctype": "<doctype>",
"docnum": "<docnum>"
},
"name": "icount_convert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docnum | Yes | The document number as shown in iCount | |
| doctype | Yes | ||
| conversionType | No | A value returned by a prior call to this tool without conversionType |