cpi-saper-dev-mcp
v0.9.0-beta.5MCP server that lets an AI agent develop SAP Cloud Integration (CPI) content on development tenants: edit iFlows locally, check, push, deploy and test
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
cpi_tenants Configured tenants
List the configured Cloud Integration tenants and what may be done on each: role (readonly or development), deploy mode (api or manual: the user deploys in the designer), packages the agent may change, script runner, guideline check, and whether the service keys are present (with the tenant host). Also shows which actions need the user's confirmation, and whether unattendedTestMode (test only: no questions to the user; the agent passes version and comment to cpi_push itself) is on.
cpi_packages List packages
List the integration packages on a tenant. agentMayChange says whether the agent may change content in the package (development tenant, package allowed by the configuration, and not READ_ONLY content from SAP or partners).
| Parameter | Type | Description |
|---|---|---|
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_artifacts List iFlows and script collections of a package
List the integration flows and script collections of a package with their design-time version ("Active" = changed since the last saved version) and runtime status (null = not deployed). The package can be given by Id or display name.
| Parameter | Type | Description |
|---|---|---|
package * | string | Package Id or display name |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_pull Pull an iFlow
Download an iFlow from the tenant into the workspace as <workspace>/<packageId>/<iflowId>/ (SAP file layout). Refuses to overwrite local changes made since the previous pull unless overwrite is true. Read the result with iflow_describe; compare later local edits with iflow_diff.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
overwrite | boolean | Discard local changes made since the previous pull |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_status Local and tenant status
For every iFlow and script collection pulled from the tenant (or one, or those of a package): whether it changed locally since the pull, changed on the tenant since the pull (e.g. in the designer, or a configured value), both (conflict: a push is refused), or neither; with the pulled, tenant and deployed versions. With package, also lists the package's artifacts that are not pulled. Downloads each artifact from the tenant.
| Parameter | Type | Description |
|---|---|---|
iflow | string | Only this iFlow or script collection Id |
package | string | Only this package (Id or display name), including what is not pulled |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_endpoints Endpoints of deployed iFlows
The URLs of the HTTP endpoints of deployed iFlows (call them with cpi_send_message using the iFlow and the path). The tenant lists a new deployment a little later; until then, for one iFlow, the URL is built from its HTTPS sender's path (source: "sender adapter").
| Parameter | Type | Description |
|---|---|---|
iflow | string | Only this iFlow |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_security_material Security material
Names, types, validity and deploy status of the tenant's keystore entries, user credentials, OAuth2 client credentials and secure parameters, to reference them in adapter settings. Never returns passwords, secrets, user names, secure parameter values or certificate content. expiringWithinDays lists only keystore entries that expire within that many days (and the other kinds unchanged).
| Parameter | Type | Description |
|---|---|---|
expiringWithinDays | integer | |
kind | string | Only this kind |
tenant | string | Tenant name from the configuration; default: defaultTenant |
iflow_describe Describe an iFlow
Compact model of a local iFlow instead of BPMN XML: participants, adapters with settings, processes with steps (kind, version, settings, decoded header/property tables), routes with conditions, externalized parameters, and files the steps use. Steps carry a display number "no" in flow order (#1, #2, ...) for talking about them; refer to steps by id in tool calls, since numbers shift when steps are inserted. detail "summary" cuts long values at 160 characters, "full" keeps them.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | Local iFlow: its Id (searched as <workspace>/<package>/<id>/), its folder, or its .iflw file; relative paths are resolved against the workspace |
detail | string |
iflow_render Diagram of an iFlow
Mermaid flowchart of a local iFlow (steps with their display numbers, routes, adapters). Show it to the user in a ```mermaid block.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | Local iFlow: its Id (searched as <workspace>/<package>/<id>/), its folder, or its .iflw file; relative paths are resolved against the workspace |
iflow_validate Check an iFlow
Structural checks of a local iFlow before it goes to the tenant: duplicate ids, dangling or inconsistent flows, missing diagram shapes, unreachable steps, script/mapping files that do not exist, {{parameters}} not declared in parameters.propdef, and some settings the tenant only refuses at deploy: empty required settings (split expression, key alias, mapping or script file), steps that need an adapter (Content Enricher, Request Reply, Send, Poll Enrich), sender authorization values the tenant refuses, Receiver names with whitespace, HTTP receiver authenticationMethod in the wrong case. Not eve…
| Parameter | Type | Description |
|---|---|---|
iflow * | string | Local iFlow: its Id (searched as <workspace>/<package>/<id>/), its folder, or its .iflw file; relative paths are resolved against the workspace |
iflow_diff Changes in an iFlow
Model-level changes of a local iFlow: steps and adapters added, removed, renamed or re-versioned, settings old -> new, table rows, and flows as connections between named steps. Layout and ids the designer regenerates on every save are left out. Without "against", compares with the state of the last cpi_pull (what was changed locally since); with "against", compares that iFlow (old) with this one (new). Numbers (#n) are those of the new version.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | The new (or locally changed) iFlow |
against | string | The old iFlow (Id, folder or .iflw); default: the last pulled state of "iflow" |
templates_list Step and adapter catalog
The bundled catalog of Cloud Integration steps and adapters with their default settings, per variant and version. Without query: one line per variant (kind, label, versions, key). With query (key, component name like "Enricher" or "sap:HTTP", or label like "Content Modifier"): the matching entries with all default properties.
| Parameter | Type | Description |
|---|---|---|
kind | string | Only entries of this kind (list mode) |
query | string |
iflow_edit Edit an iFlow
The only way to change a local iFlow (do not edit the .iflw XML directly). Apply semantic edits in one batch: insert a step from the catalog (with settings, headers, properties), remove a step (its neighbours are reconnected), add or remove an adapter (with its Sender/Receiver box; remove_box removes a box without adapters), add or remove an exception subprocess (insert steps into it after its Error Start), add a router or a parallel/sequential multicast (with Join) and put steps on its routes (insert_step "route"), change or remove routes and gateways, add or remove local integration processe…
xslt_run Run an XSLT
Run an XSLT (1.0, 2.0 or 3.0) locally like a CPI XSLT Mapping step: headers and exchange properties are passed as xsl:param by name. Returns the output, xsl:message texts, or the error with its code and line. Runs SaxonJS: Java extension functions and schema-aware XSLT are not available (see the known limitations).
| Parameter | Type | Description |
|---|---|---|
file | string | XSLT file (relative to the workspace or absolute) |
headers | object | |
iflow | string | Local iFlow: its Id (searched as <workspace>/<package>/<id>/), its folder, or its .iflw file |
input | string | Input XML as text |
inputFile | string | Input XML file (relative to the workspace or absolute), instead of "input" |
properties | object | |
step | string | XSLT Mapping step of "iflow" (id or name), instead of "file" |
mapping_describe Read a message mapping
Read a message mapping (.mmap) as text: source and target messages, Groovy function files, then one line per target field "target <- expression" (constants as values, standard functions by name, UDFs as File.function(), {ctx node} for contexts, "(same as <field>)" for shared results). Read-only.
| Parameter | Type | Description |
|---|---|---|
file | string | .mmap file (relative to the workspace or absolute) |
iflow | string | Local iFlow: its Id (searched as <workspace>/<package>/<id>/), its folder, or its .iflw file |
step | string | Message Mapping step of "iflow" (id or name), instead of "file" |
script_run Run a Groovy script on the tenant
Run one Groovy script on a development tenant without deploying it, through the script runner iFlow (configured as "scriptRunner"). Script step 2.x (Groovy 4) is used when the script imports com.sap.it.script.v2.api, else 1.x (Groovy 2.4); override with groovyVersion. Returns the resulting body, printed output, what the script set or removed in headers and properties, and the error with its line. Header/property names and values cannot contain ";" or "=". Only one file: shared script code must be inlined. Groovy 4 (script step 2.x) scripts import com.sap.it.script.v2.api and live under script/…
| Parameter | Type | Description |
|---|---|---|
body | string | Message body the script receives |
bodyFile | string | File with the message body, instead of "body" |
file | string | Groovy file: absolute, or relative to the workspace folder (where cpi_pull puts iFlows, e.g. "<package>/<iflow>/src/main/resources/script/x.groovy"), not to the project folder |
function | string | Function to call instead of processData |
groovyVersion | ||
headers | object | |
iflow | string | Local iFlow: its Id (searched as <workspace>/<package>/<id>/), its folder, or its .iflw file |
properties | object | |
step | string | Script step of "iflow" (id or name), instead of "file" |
tenant | string |
iflow_create Create a new iFlow
Create an empty iFlow in a package on a development tenant and pull it into the workspace. The tenant scaffolds it like the designer does: version 1.0.0, a Sender and a Receiver box, Start -> End, no adapters. Then build it locally with iflow_edit (add_adapter connects the sender to the Start event, insert_step adds steps) and upload it with cpi_push, which gives it its first real version. Refuses an Id that exists on the tenant, a package that is not allowed or read-only, and non-development tenants. Asks for confirmation when configured.
| Parameter | Type | Description |
|---|---|---|
id * | string | iFlow Id: letters, digits, "_", "-", "." (no spaces); unique on the tenant |
package * | string | Package Id or display name |
name | string | Display name (default: the Id) |
tenant | string | Tenant name from the configuration; default: defaultTenant |
iflow_delete Delete an iFlow
Delete an iFlow from a development tenant with its whole version history; this cannot be undone. Meant for cleaning up test iFlows. Refuses a deployed iFlow (cpi_undeploy first), one open in the designer, packages that are not allowed or read-only, and non-development tenants. Always asks for confirmation unless removed from "confirm" (or in unattendedTestMode). The local folder stays; its pulled state is removed, so it cannot be pushed.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_push Push an iFlow as a new version
Upload a locally edited iFlow (pulled before with cpi_pull) to its tenant. Every upload is a new version in Cloud Integration's history, so each push gets a version number and a one-line comment: call cpi_version_proposal first and pass version and comment by the versioning rules; the user confirms or edits both in a dialog (in unattendedTestMode, test only, they are used as passed). Collect and check related edits locally before pushing, rather than pushing every small step. Refuses when the tenant is not a development tenant, the package is not allowed or read-only, the local iFlow has struc…
| Parameter | Type | Description |
|---|---|---|
iflow * | string | Local iFlow: Id, folder or .iflw |
comment | string | Proposed comment: one brief line starting with the part, e.g. "minor: new step X adds header Y" |
tenant | string | Tenant name from the configuration; default: defaultTenant |
version | string | Proposed version, e.g. 1.2.0 (default: the hint from the changes) |
cpi_version_proposal Propose the next version
Everything needed to propose the version for a push: the versioning rules (the project's own file or the default), the last version (from the pull), the local changes since then, a technical hint (major/minor/patch with reasons) and the latest changelog entries. Decide by the rules, then pass version and a brief one-line comment to cpi_push; the user confirms them.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | Local iFlow: Id, folder or .iflw |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_save_version Make the tenant's content a new version
Record the iFlow's current content on the tenant as a new version with number and comment, for example after the user worked in the designer. (Local changes are versioned by cpi_push.) The content is uploaded again with the new number; the user confirms number and comment in a dialog.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
comment | string | Proposed comment: one brief line |
tenant | string | Tenant name from the configuration; default: defaultTenant |
version | string | Proposed version |
cpi_deploy Deploy an iFlow
Deploy the iFlow's current version (every push is a version). First runs SAP's design guideline check when the tenant's "guidelines" setting asks for it (block: High findings not present at the last deploy stop it). With deploy mode "manual" (e.g. BTP trial tenants) nothing is deployed: ask the user to deploy that version in the designer, then check with cpi_runtime_status. Otherwise asks for confirmation (if configured), deploys, waits, and reports errors with step names. A failed deploy also stops the version that was running before.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_undeploy Undeploy an iFlow or script collection
Remove an iFlow or script collection from the runtime (its design-time content stays). Undeploying a script collection breaks the deployed iFlows that use it. Asks for confirmation when configured.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow or script collection Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_runtime_status Runtime status of an iFlow
Whether and which version of the iFlow is deployed, its status, and the deploy error with step names when it failed.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_guidelines SAP design guideline check
Run SAP's design guideline check on the tenant (deploys through the API skip it, unlike the designer). Returns the non-compliant guidelines, most severe first, with the violating components and SAP's fix text.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
all | boolean | Also list compliant and skipped guidelines |
tenant | string | Tenant name from the configuration; default: defaultTenant |
version | string | Saved version; default: the current design-time content |
cpi_check Tenant model check
Run the tenant's model validation of the iFlow ("Check for problems" in the designer).
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
version | string |
script_collection_create Create a script collection
Create an empty script collection in an allowed package on a development tenant (version 1.0.0, as the designer does) and pull it as <workspace>/<package>/<id>/. Put scripts in src/main/resources/script/ and upload them with script_collection_push. Asks for confirmation when configured.
| Parameter | Type | Description |
|---|---|---|
id * | string | Script collection Id |
package * | string | Package Id or display name |
name | string | |
tenant | string | Tenant name from the configuration; default: defaultTenant |
script_collection_pull Pull a script collection
Download a script collection into the workspace as <workspace>/<packageId>/<id>/; its scripts are in src/main/resources/script/. Refuses to overwrite local changes made since the previous pull unless overwrite is true.
| Parameter | Type | Description |
|---|---|---|
id * | string | Script collection Id |
overwrite | boolean | Discard local changes made since the previous pull |
tenant | string | Tenant name from the configuration; default: defaultTenant |
script_collection_push Push a script collection as a new version
Upload a locally edited script collection (pulled or created before) as a new version: pass version and a one-line comment (hint: a removed script is major, a new one minor, a change patch); the user confirms both (in unattendedTestMode, test only, they are used as passed). The tenant keeps no comments for script collections, so the comment goes to the changelog next to the folder. Refuses when the collection changed on the tenant since the pull or is open in the designer. iFlows use the new version after script_collection_deploy.
| Parameter | Type | Description |
|---|---|---|
id * | string | Script collection Id |
comment | string | Proposed comment: one brief line starting with the part, e.g. "minor: new script Utils.groovy" |
tenant | string | Tenant name from the configuration; default: defaultTenant |
version | string | Proposed version, e.g. 1.1.0 |
script_collection_deploy Deploy a script collection
Deploy the script collection's current version so iFlows can use its scripts (deploy the collection before the iFlows that use it). With deploy mode "manual" nothing is deployed: ask the user to deploy it in the designer. Asks for confirmation when configured.
| Parameter | Type | Description |
|---|---|---|
id * | string | Script collection Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
script_collection_delete Delete a script collection
Delete a script collection with its version history from a development tenant; this cannot be undone. Refuses a deployed collection (cpi_undeploy first) and one open in the designer. iFlows that still use its scripts fail at their next deploy. Asks for confirmation unless removed from "confirm". The local folder stays.
| Parameter | Type | Description |
|---|---|---|
id * | string | Script collection Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
params_set Declare externalized parameters
Declare, change or remove externalized parameters of a local iFlow: parameters.propdef (name, type, required, description) and parameters.prop (the value) stay consistent, in the designer's format; created when missing. Use a parameter in a setting by writing {{name}} as its value (iflow_edit set). Returns the parameters with their values and where each is used. The values go to the tenant with cpi_push; to change a value on the tenant without a new version, use cpi_config_set.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | Local iFlow: Id, folder or .iflw |
remove | array | Parameter names to remove (declaration, value and the designer's references) |
set | array |
cpi_config_get Configured parameter values
The values an iFlow's externalized parameters are configured with on the tenant (SAP's own keys like SAP_ProfileId marked), compared with the local parameters.prop when the iFlow is pulled.
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_config_set Configure parameter values on the tenant
Set configured values of an iFlow's externalized parameters on a development tenant (allowed packages only), like "Configure" in the designer: no new version; the running iFlow uses them after the next deploy. Asks for confirmation when "config_set" is in "confirm". When the iFlow is pulled, its local parameters.prop is updated too (unless it has local changes, which a later cpi_push would upload over these values).
| Parameter | Type | Description |
|---|---|---|
iflow * | string | iFlow Id |
schedules | object | Schedule parameter name (type custom:schedule) -> {every, unit} or {cron}, with from, until, timeZone |
tenant | string | Tenant name from the configuration; default: defaultTenant |
values | object | Parameter name -> value |
cpi_datastores Data stores
Data stores the iFlows wrote (Write step): without store, all stores with their iFlow (or global), number of entries and overdue entries; with store, its entries (id, status, message log id, due, created, retain until). A store appears once something was written to it.
| Parameter | Type | Description |
|---|---|---|
iflow | string | The iFlow the store or variable belongs to; "" for a global one; needed only when the name is ambiguous |
store | string | Data store name |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_datastore_entry Data store entry
The message a data store entry holds: body (cut to output.maxChars; binary bodies are only measured) and the stored headers, credential-like values hidden.
| Parameter | Type | Description |
|---|---|---|
id * | string | Entry id |
store * | string | |
iflow | string | The iFlow the store or variable belongs to; "" for a global one; needed only when the name is ambiguous |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_datastore_delete Delete data store entries
Delete entries of a data store, or the whole store (all: true), for example to reset test data between runs. Development tenants only; a store of an iFlow follows its package rules. Asks for confirmation ("runtime_data").
| Parameter | Type | Description |
|---|---|---|
store * | string | |
all | boolean | Delete the whole store with all entries |
ids | array | Entry ids to delete |
iflow | string | The iFlow the store or variable belongs to; "" for a global one; needed only when the name is ambiguous |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_variables Variables
Variables the iFlows wrote (Write Variables step): without name, all with their iFlow (or global), updated and retain-until dates; with name, also the value.
| Parameter | Type | Description |
|---|---|---|
iflow | string | The iFlow the store or variable belongs to; "" for a global one; needed only when the name is ambiguous |
name | string | Variable name |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_variable_delete Delete a variable
Delete a variable, for example so a delta load starts again from its default. Development tenants only; a variable of an iFlow follows its package rules. Asks for confirmation ("runtime_data").
| Parameter | Type | Description |
|---|---|---|
name * | string | |
iflow | string | The iFlow the store or variable belongs to; "" for a global one; needed only when the name is ambiguous |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_queues JMS queues
The JMS broker (capacity used and maximum, queues used out of the maximum, warnings) and its queues with message count, size, active/exclusive and the iFlows that read or write them; with queue, its messages (id, failed, retry count, next retry, message log id, created, overdue, expires). Failed messages are retried by the tenant; cpi_queue_action retries them now.
| Parameter | Type | Description |
|---|---|---|
queue | string | Queue name |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_queue_action Act on a JMS queue
retry: retry failed messages now (all failed ones, or by ids, message log id or createdBefore); move: move messages to another queue (same selection); delete: delete messages by id; activate/deactivate: start or stop delivering the queue's messages to the iFlows that read it. Development tenants only, and every iFlow using the queue (both queues for move) must be in an allowed package. Asks for confirmation ("runtime_data").
| Parameter | Type | Description |
|---|---|---|
action * | string | |
queue * | string | |
createdBefore | string | retry/move: messages created before this time (ISO) |
ids | array | Message ids (cpi_queues queue=...) |
messageLogId | string | retry/move: the messages of this message log |
targetQueue | string | move: the queue to move to |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_number_ranges Number ranges
Number ranges (used by number range steps, e.g. for EDI interchange numbers): name, description, min, max, current value, field length, rotate, deployed by and on.
| Parameter | Type | Description |
|---|---|---|
name | string | Only this range |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_number_range_set Create, change or delete a number range
create (needs max; min defaults to 0, current to min), update (what is not given stays, e.g. reset current), or delete a number range. Number ranges are global: development tenants only. Asks for confirmation ("runtime_data").
| Parameter | Type | Description |
|---|---|---|
action * | string | |
name * | string | |
current | string | The value the next number follows |
description | string | |
fieldLength | string | Numbers are padded to this length |
max | string | |
min | string | Whole number, as text |
rotate | boolean | Start again at min after max |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_duplicate_checks Duplicate checks (already processed)
Entries of the idempotent repository: what was already processed and is skipped when it comes again, e.g. a file name an SFTP sender marked as processed, or an id an Idempotent Process Call step saw. Each entry: source, entry (the processed file name or id), component, created, expires. Use it when a test seems to do nothing; cpi_duplicate_check_delete makes the same file or id processed again.
| Parameter | Type | Description |
|---|---|---|
contains | string | Only entries whose source or entry contains this text, e.g. an iFlow id or file name |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_duplicate_check_delete Allow processing again
Delete duplicate-check entries (as listed by cpi_duplicate_checks: source and entry), so the same file or id is processed again on the next run. Development tenants only. Asks for confirmation ("runtime_data").
| Parameter | Type | Description |
|---|---|---|
entries * | array | |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_message_store Persisted messages
What the Persist steps of one message stored: without id, the entries (id, step id, time); with id, the stored body (cut to output.maxChars) and headers (credential-like values hidden).
| Parameter | Type | Description |
|---|---|---|
messageLogId * | string | Message log id (cpi_send_message, cpi_messages) |
id | string | Entry id |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_send_message Send a test message
Call a deployed iFlow's HTTP endpoint (https://<runtime>/http<path>, the HTTPS sender's address) on a development tenant. Returns the HTTP status, response headers and body, and the message log id (also for failed calls) to read with cpi_message. The same request answered the same way several times in a row gets a note, and from the 10th time it is not sent again until something changes.
| Parameter | Type | Description |
|---|---|---|
path * | string | Endpoint path as configured in the HTTPS sender, e.g. /test |
body | string | |
bodyFile | string | File with the request body (relative to the workspace or absolute), instead of "body" |
headers | object | |
method | string | |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_messages Search message logs
Message processing logs, newest first, optionally for one iFlow and/or one status (COMPLETED, FAILED, RETRY, ESCALATED, PROCESSING).
| Parameter | Type | Description |
|---|---|---|
iflow | string | iFlow Id |
status | string | |
tenant | string | Tenant name from the configuration; default: defaultTenant |
top | integer |
cpi_message One message log
One message processing log: status, error text with the failing step by name, and every processing step with its status (step ids translated to step names and display numbers). At log level INFO the tenant records steps only for failed messages. Use the id from cpi_send_message or cpi_messages.
| Parameter | Type | Description |
|---|---|---|
id * | string | Message log id (MessageGuid) |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_trace Step trace (experimental)
Experimental (setting "experimental.trace"); uses an undocumented SAP endpoint. With "enable": switch the iFlow's log level to TRACE for 10 minutes (development tenants only); send messages afterwards. With "message": the body, headers and properties as they entered each step of that message (only for messages processed while TRACE was on). Credential values are hidden.
| Parameter | Type | Description |
|---|---|---|
enable | string | iFlow Id: switch TRACE on |
message | string | Message log id: read its step traces |
tenant | string | Tenant name from the configuration; default: defaultTenant |
cpi_login Log in to a tenant as the user
For tenants with "login": "user": log in with the user's own SAP account, so the tenant records the user (not a technical client) as the one who changed or deployed content. Opens SAP's login page: through the client when it can open links (MCP URL elicitation), otherwise returns the link for the user to open; the login then completes in the background within 5 minutes. logout: true forgets the login.
| Parameter | Type | Description |
|---|---|---|
logout | boolean | |
tenant | string |