You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle AI Agent Studio - Same Variables Resolve in Header but Not in Nested JSON Payload

Hi Community,

We are facing an issue with payload generation in Oracle AI Agent Studio while invoking a REST API from an agent workflow.

Our agent uses multiple tools to fetch business data (such as customer details, addresses, payment terms, etc.). The fetched values are then mapped to a JSON payload through prompt instructions before invoking the target REST API.

For example:

  • One tool fetches PartyId.
  • Another tool fetches PaymentTermsCode.
  • In the prompt, we explicitly instruct the agent to reuse these fetched values in multiple locations within the payload.

Example payload template:

{
"BuyingPartyId": {PartyId},
"PaymentTermsCode": "{PaymentTermsCode}",
"billToCustomer": [
{
"PartyId": {PartyId}
}
],
"shipToCustomer": [

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!