catalog_post
Create or update a catalog source and import its catalog items, with optional validation-only mode to count items without saving.
Instructions
Create or update a catalog source. Creating or updating also imports (or re-imports) the associated catalog items. Creates a new catalog source or updates an existing catalog source based on the request body and imports catalog items from it. POST /catalog/api/admin/sources
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": {
"body": "<body>"
},
"name": "catalog_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The catalog source to be created | |
| validationOnly | No | If true, the source will not be created. It returns the number of items belonging to the source. The request will still return an error code if the source is invalid. |