Package com.github.copilot.sdk.events
Class ToolExecutionProgressEvent
java.lang.Object
com.github.copilot.sdk.events.AbstractSessionEvent
com.github.copilot.sdk.events.ToolExecutionProgressEvent
Event fired when a tool execution reports progress.
This event provides progress updates during tool execution.
- Since:
- 1.0.1
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.copilot.sdk.events.AbstractSessionEvent
getEphemeral, getId, getParentId, getTimestamp, setEphemeral, setId, setParentId, setTimestamp
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ToolExecutionProgressEvent
public ToolExecutionProgressEvent()
-
-
Method Details
-
getType
Description copied from class:AbstractSessionEventGets the event type discriminator string.This corresponds to the event type in the JSON protocol (e.g., "assistant.message", "session.idle").
- Specified by:
getTypein classAbstractSessionEvent- Returns:
- the event type string
-
getData
-
setData
public ToolExecutionProgressEvent setData(ToolExecutionProgressEvent.ToolExecutionProgressData data)
-