Skip to content

CodePipelineProcessToolUse

One tool call an agent made during a code pipeline run: its input, its result and how long it took.

Kind: an object, used in responses.

Every field is present in a response; empty ones are null.

FieldTypeDescription
stepExecutionIduuidThe id of the step (in the run’s phases) the call belongs to.
phaseNamestringThe name of the phase the call belongs to.
agentNamestringThe name of the agent that made the call.
stepNamestringThe name of the step the call belongs to.
sequenceintegerThe call’s position in the step’s transcript. Tool calls and transcript entries share one numbering, so sorting both by it gives the order things happened in.
timestampdatetimeWhen the agent made the call, in UTC.
toolNamestringThe name of the tool called.
toolUseIdstring | nullThe coding tool’s own id for the call. Null for coding tools that don’t give one.
inputNameValuePair[]The call’s input, as name-value pairs. Complex values are given as text.
resultstring | nullWhat the tool returned. Null until the result arrives.
inputOriginalBytesintegerThe size of the input’s values as the agent sent them, in UTF-8 bytes, before any shortening.
resultOriginalBytesintegerThe size of the result as the tool returned it, in UTF-8 bytes, before any shortening.
isTruncatedbooleanWhether the input or result was shortened because it was extremely large. Rare.
durationtimespan | nullHow long the call took. Null when unknown.
codePipelineProcessIduuidThe id of the code pipeline run it belongs to.
revintegerIts revision, which goes up each time it changes (a tool result arriving after its call, for example). Starts at 1. Compare it with the rev in the run’s references to tell whether your copy is current.
tenantIduuidThe id of the tenant it belongs to.
iduuidThe unique id. Use it in by-id routes and wherever another object refers to this one.
dateCreateddatetimeWhen it was created, in UTC.
dateUpdateddatetimeWhen it was last changed, in UTC.
{
"stepExecutionId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"phaseName": "...",
"agentName": "...",
"stepName": "...",
"sequence": 0,
"timestamp": "2026-10-26T12:00:00.0000000Z",
"toolName": "...",
"toolUseId": "...",
"input": [
{
"name": "...",
"value": "..."
}
],
"result": "...",
"inputOriginalBytes": 0,
"resultOriginalBytes": 0,
"isTruncated": false,
"duration": "00:05:00",
"codePipelineProcessId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"rev": 0,
"tenantId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"dateCreated": "2026-10-26T12:00:00.0000000Z",
"dateUpdated": "2026-10-26T12:00:00.0000000Z"
}