> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Oracle Sales Cloud

**Authentication:** OAuth or basic authentication. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* Show me every opportunity in `Negotiation` with no activity in the last 14 days.
* Update the close date on opportunities past their expected close.
* Pull the win/loss breakdown for closed opportunities last quarter.

## Available Tools

#### list\_accounts

List accounts from Oracle Sales Cloud. Returns paginated list with organization name, type, owner, and primary contac...

#### get\_account

Get a single account by PartyNumber. Returns full account details including organization name, contacts, and addresse...

#### create\_account

Create a new account in Oracle Sales Cloud. Requires organization\_name. Optionally specify type, owner, and industry.

#### update\_account

Update an account by PartyNumber. Use list\_accounts to find valid PartyNumbers.

#### delete\_account

Delete an account permanently. This action cannot be undone. Use list\_accounts to verify the account before deleting.

#### list\_account\_contacts

List contacts associated with an account. Returns paginated list of contact records for the specified account. Use li...

#### list\_activities

List activities from Oracle Sales Cloud. Returns paginated list of tasks, appointments, and call reports. Use limit/o...

#### get\_activity

Get a single activity by ActivityNumber. Returns full activity details including subject, type, and status. Use list\_...

#### create\_activity

Create a new activity in Oracle Sales Cloud. Requires subject. Optionally specify type (APPOINTMENT, TASK, CALL\_REPOR...

#### update\_activity

Update an activity by ActivityNumber. Use list\_activities to find valid ActivityNumbers.

#### delete\_activity

Delete an activity permanently. This action cannot be undone. Use list\_activities to verify the activity before delet...

#### list\_business\_plans

List business plans from Oracle Sales Cloud. Returns paginated list with name, dates, and status. Use limit/offset fo...

#### get\_business\_plan

Get a single business plan by ID. Returns full business plan details including name, dates, and goals. Use list\_busin...

#### create\_business\_plan

Create a new business plan in Oracle Sales Cloud. Requires name, customer\_id (account PartyId), period\_start\_name, an...

#### update\_business\_plan

Update a business plan by ID. Use list\_business\_plans to find valid IDs.

#### delete\_business\_plan

Delete a business plan permanently. This action cannot be undone. Use list\_business\_plans to verify the plan before d...

#### list\_campaigns

List campaigns from Oracle Sales Cloud. Returns paginated list with name, status, and dates. Use limit/offset for pag...

#### get\_campaign

Get a single campaign by CampaignNumber. Returns full campaign details including name, status, and dates. Use list\_ca...

#### create\_campaign

Create a new campaign in Oracle Sales Cloud. Requires name. Optionally specify status, start date, and end date.

#### update\_campaign

Update a campaign by CampaignNumber. Use list\_campaigns to find valid CampaignNumbers.

#### delete\_campaign

Delete a campaign permanently. This action cannot be undone. Use list\_campaigns to verify the campaign before deleting.

#### list\_contacts

List contacts from Oracle Sales Cloud. Returns paginated list with name, email, and organization. Use limit/offset fo...

#### get\_contact

Get a single contact by PartyNumber. Returns full contact details including name, email, phone, and addresses. Use li...

#### create\_contact

Create a new contact in Oracle Sales Cloud. Requires last\_name. Optionally specify first\_name, email\_address, and owner.

#### update\_contact

Update a contact by PartyNumber. Use list\_contacts to find valid PartyNumbers.

#### delete\_contact

Delete a contact permanently. This action cannot be undone. Use list\_contacts to verify the contact before deleting.

#### list\_leads

List sales leads from Oracle Sales Cloud. Returns paginated list with name, status, and customer. Use limit/offset fo...

#### get\_lead

Get a single lead by ID. Returns full lead details including name, status, and associated contacts. Use list\_leads to...

#### create\_lead

Create a new sales lead in Oracle Sales Cloud. Requires name. Optionally specify customer and owner.

#### update\_lead

Update a lead by ID. Use list\_leads to find valid lead IDs.

#### delete\_lead

Delete a lead permanently. This action cannot be undone. Use list\_leads to verify the lead before deleting.

#### convert\_lead\_to\_opportunity

Convert a qualified lead into an opportunity. The lead must be in a convertible state. Use list\_leads to find valid l...

#### accept\_lead

Accept a lead that has been assigned to you. Use list\_leads to find valid lead IDs.

#### list\_opportunities

List opportunities from Oracle Sales Cloud. Returns paginated list with name, status, win probability, and revenue. U...

#### get\_opportunity

Get a single opportunity by OptyNumber. Returns full opportunity details including revenue, contacts, and status. Use...

#### create\_opportunity

Create a new opportunity in Oracle Sales Cloud. Requires name. Optionally specify target account, win probability, st...

#### update\_opportunity

Update an opportunity by OptyNumber. Use list\_opportunities to find valid OptyNumbers.

#### delete\_opportunity

Delete an opportunity permanently. This action cannot be undone. Use list\_opportunities to verify the opportunity bef...

#### list\_opportunity\_revenue\_items

List revenue line items for an opportunity. Returns paginated list of revenue records. Use list\_opportunities to find...

#### list\_territory\_forecasts

List territory forecasts from Oracle Sales Cloud. Returns paginated list of forecast data by territory. Use limit/off...

#### get\_territory\_forecast

Get a single territory forecast by ForecastParticipantId. Returns forecast details including amounts and territory in...