Joule extensions, skills and agents
Free sample lesson · open to everyone
Build an extension around a defined business intent and the smallest supported tool set. Classic-edition tool configuration and newer intent-based requirements/specification flows are distinct. In either experience, test the complete behavior and the actual service authorization.
In this lessonShow sectionsHide sections
Visual overview
The situation: a real project scenario
A fictional assistant needs an order lookup tool but has been given an unrestricted update capability.
This reflects a pattern seen when teams move fast from a working chat demo to a "useful" agent: a developer reuses an existing API connection that supports both read and write operations because it's already wired up, intending to restrict it later with prompt instructions.
Before the restriction is enforced server-side, a user's ambiguous phrasing ("fix this overdue order") causes the agent to attempt the update path rather than simply reporting the lookup result. Catching this requires testing the agent against exactly the scope it should have, not just the scope the prompt describes.
Explanation
Tutorial outcome
Build an extension around a defined business intent and the smallest supported tool set. Classic-edition tool configuration and newer intent-based requirements/specification flows are distinct. In either experience, test the complete behavior and the actual service authorization.
Prerequisites
Complete chapters 1–7 in this module. Use synthetic fixtures or an authorized sandbox.
Worked case — fictional
A fictional assistant needs an order lookup tool but has been given an unrestricted update capability.
Step-by-step investigation
1. Define
Describe the intended lookup outcome and choose the actual Studio experience.
Expected evidence: The task is read-only overdue-order lookup.
2. Constrain
Expose only the supported tool operation and required parameters.
Expected evidence: The tool cannot release or update an order.
3. Build
Follow the chosen experience's supported project and testing workflow.
Expected evidence: Classic and intent-based steps are not mixed.
4. Evaluate
Test success, denied scope, missing data and tool failure before deployment.
Expected evidence: The assistant explains failures without inventing tool results.
Try it yourself
Reproduce the synthetic input from the example below in a local fixture or authorized sandbox. Follow each step, record the observed result, and explain any mismatch before continuing. Do not treat the expected evidence as a result observed in your SAP tenant.
Acceptance check
The extension has a defined capability boundary and end-to-end behavioral evidence.
Common failure to avoid
Do not grant broad tools because the prompt asks the agent to use only a small subset.
Self-check
What is the safest initial tool scope for a lookup assistant?
Expected reasoning: Only the required read operation with enforced service authorization.
Edition and release scope
Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.
SAP references
References checked 2026-10-30. SAP material supports the named concepts; the case, fixture and acceptance checks are original ERPClimb teaching material. No SAP tenant execution or certification is claimed.
[SAP Learning — Joule Studio classic edition](https://learning.sap.com/courses/getting-started-with-joule-studio-classic-edition/building-joule-agents-with-joule-studio-classic-edition_c0cc36a2-6f76-4d03-b6d0-abed14a82eda) — Classic edition agent configuration, tool connections and simulator; not interchangeable with the newer flow
[SAP Learning — Intent-based Joule Studio](https://learning.sap.com/courses/introducing-joule-studio/creating-an-ai-agent-with-joule-studio_ddd497ad-d762-41a7-848d-59b84b79cc7e) — Intent, requirements, specification, implementation, evaluation and deployment
Code example
{"tool":"lookupOverdueOrders","mode":"read-only","writeOperations":[]}Joule extensions, skills and agents: evidence walkthrough
Simulated training case. These observations are authored fixtures, not screenshots or results from a customer SAP system.
A fictional assistant needs an order lookup tool but has been given an unrestricted update capability.
Before you start
- Complete chapters 1–7 in this module. Use synthetic fixtures or an authorized sandbox.
Check the linked SAP documentation for your product, runtime, region and enabled service plan. The worked case is a simulation; these steps were not executed in a customer SAP tenant.
Define
Describe the intended lookup outcome and choose the actual Studio experience.
Expected evidence · simulated
The task is read-only overdue-order lookup.
Automatic playback is disabled by your reduced-motion preference. All steps remain available.
Try it, then verify
The extension has a defined capability boundary and end-to-end behavioral evidence.
Watch for: Do not grant broad tools because the prompt asks the agent to use only a small subset.
Open the ERPClimb lesson diagram at full sizeSAP references and release scope
References checked 2026-10-30. The linked SAP material supports the named concepts; the scenario, fixtures and acceptance checks are original ERPClimb teaching material. This is not an SAP certification or a tenant-execution claim.
- SAP Learning — Joule Studio classic edition
Classic edition agent configuration, tool connections and simulator; not interchangeable with the newer flow
- SAP Learning — Intent-based Joule Studio
Intent, requirements, specification, implementation, evaluation and deployment
Watch out
Common mistakes
Do not grant broad tools because the prompt asks the agent to use only a small subset. A prompt instruction such as "only use this for lookups" is not an enforcement mechanism — a different user turn, a longer conversation, or a slightly different phrasing can still steer the agent toward the broader capability if the tool itself exposes it.
A related mistake is mixing the classic Studio tool-configuration workflow with the newer intent-based requirements/specification flow in the same build; they are not interchangeable, and following steps from the wrong one produces an agent that looks configured but was never actually tested end to end.
Teams also often skip testing denied-scope and tool-failure cases, so the first time the agent meets a permission boundary or an unavailable tool is in production rather than in evaluation.
Do this
Best practices
The extension has a defined capability boundary and end-to-end behavioral evidence. Scope each tool to the smallest operation the business task requires, and keep classic-edition tool configuration and intent-based Studio workflows separate rather than mixing their steps.
Test success, denied-scope, missing-data and tool-failure cases before deployment, since an agent that only handles the happy path can still invent results or escalate into capabilities it was never meant to have. Check the linked SAP documentation for your product, runtime, region and enabled service plan.
The worked case is a simulation; these steps were not executed in a customer SAP tenant.
In the interview
Interview angle
What is the safest initial tool scope for a lookup assistant? A weak answer says "give it the tools it needs and tell it not to misuse them" — that puts the control in the prompt, which an agent can be talked out of.
A strong answer scopes the tool itself: expose only the read operation and the specific parameters required, with no update or release capability present at all, so there is nothing broader for the agent to be redirected into using.
The strongest answers also mention verifying this against the actual service authorization, not just the tool's declared schema, since a tool can be narrowly described but still call into a broadly permissioned backend.
Practice this lesson
Original educational case studies for SAP consultants, not official SAP certification exam questions. Verify product edition and implementation details against the current SAP documentation.
Quick check
0 of 3 questions attempted
Question 1 of 3
What is the safest starting design for a custom Joule skill that accesses order data?
Question 2 of 3
A custom agent can call several tools. What must be controlled?
Question 3 of 3
Where are custom Joule skills and agents typically built?
Practise this in an interview
Answer in your own words and get instant feedback, the way an interviewer would judge it.
1How would you design a custom Joule skill for checking overdue purchase order confirmations?
2What risks come with AI agents that can take actions in SAP systems?
Was this lesson helpful?
Keep exploring
Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.