Skip to main content
Glama

delete_record

Remove records from Odoo models using a two-step safety process: first preview deletions, then execute after user confirmation.

Instructions

Delete records from an Odoo model. IRREVERSIBLE operation.

IMPORTANT: You MUST first call with confirm=False to show the user what will be deleted. Only set confirm=True AFTER the user explicitly approves the deletion. NEVER set confirm=True on the first call.

Args: model: Model name (e.g., 'res.partner') ids: List of record IDs to delete confirm: Safety flag. Always call with False first, then True only after user approval.

Returns: JSON string with success status or pending confirmation

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
idsYes
confirmNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/twtrubiks/odoo19-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server