Skip to content

API Reference parrot_tools.odoo.models.helpdesk_inputs

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.odoo.models.helpdesk_inputs

View source

Pydantic input schemas for :class:~parrot_tools.odoo.helpdesk.OdooHelpdeskToolkit tools.

Class AddTicketCommentInput

Input for posting a ticket message.

Attributes:

Attribute Type Description
body str
internal bool
attachment_ids Optional[list[int]]

Class ApproveTicketInput

Input for approving a ticket.

Class AssignTicketInput

Input for assigning a ticket.

Attributes:

Attribute Type Description
assignee Ref
additional_assignees Optional[list[Ref]]

Class AttachToTicketInput

Input for attaching a document to a ticket.

Attributes:

Attribute Type Description
name str
source str
mimetype Optional[str]
description Optional[str]

Class CancelTicketInput

Input for cancelling a ticket.

Attributes:

Attribute Type Description
reason str

Class CloseTicketInput

Input for closing a ticket.

Attributes:

Attribute Type Description
comment Optional[str]

Class CreateSlaPolicyInput

Input for creating an SLA policy.

Attributes:

Attribute Type Description
name str
team Ref
days int
hours int
minutes int
target_type Literal['reaching_stage', 'assign_to']
stage Optional[Ref]
ticket_type Optional[Ref]

Class CreateTicketInput

Input for creating a helpdesk ticket.

Attributes:

Attribute Type Description
subject str
partner_id Optional[int]
partner_email Optional[str]
partner_name Optional[str]
description Optional[str]
category Optional[Ref]
sub_category Optional[Ref]
priority Optional[Ref]
team Optional[Ref]
ticket_type Optional[Ref]
tags Optional[list[Ref]]
assignee Optional[Ref]
email Optional[str]
mobile_no Optional[str]
person_name Optional[str]
due_date Optional[str]
replied_status Literal['customer_replied', 'staff_replied']

Class GetTicketExtraFieldsInput

Input for retrieving custom ticket fields.

Class GetTicketHistoryInput

Input for retrieving ticket stage history.

Class GetTicketInput

Input for retrieving a ticket.

Attributes:

Attribute Type Description
include_extra_fields bool
include_history bool

Class GetTicketMessagesInput

Input for retrieving ticket messages.

Attributes:

Attribute Type Description
limit int
include_notifications bool

Class GetTicketSlaStatusInput

Input for retrieving a ticket's SLA status.

Class ListMyTicketsInput

Input for listing the current user's tickets.

Attributes:

Attribute Type Description
only_open bool
limit int

Class ListReferenceInput

Input shared by helpdesk reference-data list tools.

Attributes:

Attribute Type Description
limit int

Class ListSlaPoliciesInput

Input for listing SLA policies.

Attributes:

Attribute Type Description
team Optional[Ref]
ticket_type Optional[Ref]
limit int

Class ListTicketAlarmsInput

Input for listing ticket alarms.

Attributes:

Attribute Type Description
limit int

Class MassUpdateTicketsInput

Input for applying one or more changes to tickets.

Attributes:

Attribute Type Description
ticket_ids list[int]
stage Optional[Ref]
assignee Optional[Ref]
team Optional[Ref]
add_followers Optional[list[int]]
remove_followers Optional[list[int]]

Class MergeTicketsInput

Input for merging two or more tickets.

Attributes:

Attribute Type Description
ticket_ids list[int]
into_ticket_id Optional[int]
merged_action Literal['close', 'cancel', 'done', 'remove', 'do_nothing']
merge_history bool

Class MoveTicketToStageInput

Input for moving a ticket to a stage.

Attributes:

Attribute Type Description
stage Ref
expected_current_stage Optional[Ref]

Alias OdooDomain

Re-exported from parrot_tools.odoo.models.inputs.OdooDomain.

Class ReassignTicketInput

Input for reassigning a ticket.

Attributes:

Attribute Type Description
new_assignee Ref

Attribute Ref

Class ReopenTicketInput

Input for reopening a ticket.

Attributes:

Attribute Type Description
to_stage Optional[Ref]

Class ResolveTicketInput

Input for resolving a ticket.

Class SearchTicketsInput

Input for searching helpdesk tickets.

Attributes:

Attribute Type Description
query Optional[str]
stage Optional[Ref]
team Optional[Ref]
assignee Optional[Ref]
category Optional[Ref]
priority Optional[Ref]
ticket_type Optional[Ref]
partner_id Optional[int]
created_after Optional[str]
created_before Optional[str]
only_open bool
domain Optional[OdooDomain]
fields Optional[list[str]]
limit int
offset int
order str

Class StartTicketTimerInput

Input for starting a ticket timer.

Class StopTicketTimerInput

Input for stopping a ticket timer.

Attributes:

Attribute Type Description
description Optional[str]

Class TakeTicketInput

Input for assigning the current user to a ticket.

Class TicketIdInput

Input with a required helpdesk ticket identifier.

Attributes:

Attribute Type Description
ticket_id int

Class TicketStatsInput

Input for aggregating ticket statistics.

Attributes:

Attribute Type Description
group_by Literal['stage_id', 'team_id', 'user_id', 'category_id', 'priority', 'ticket_type']
only_open bool
domain Optional[OdooDomain]
created_after Optional[str]
created_before Optional[str]

Class UpdateSlaPolicyInput

Input for updating an SLA policy.

Attributes:

Attribute Type Description
sla_id int
name Optional[str]
days Optional[int]
hours Optional[int]
minutes Optional[int]
target_type Optional[Literal['reaching_stage', 'assign_to']]
stage Optional[Ref]
ticket_type Optional[Ref]

Class UpdateTicketInput

Explicit ticket patch without lifecycle, assignment, or SLA fields.

Attributes:

Attribute Type Description
subject Optional[str]
description Optional[str]
comment Optional[str]
customer_comment Optional[str]
email Optional[str]
email_cc Optional[str]
mobile_no Optional[str]
person_name Optional[str]
due_date Optional[str]
category Optional[Ref]
sub_category Optional[Ref]
priority Optional[Ref]
team Optional[Ref]
ticket_type Optional[Ref]
tags Optional[list[Ref]]

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally