forked from github/copilot-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPostToolUseHookOutput.java
More file actions
26 lines (23 loc) · 1.01 KB
/
PostToolUseHookOutput.java
File metadata and controls
26 lines (23 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------------------------------------------*/
package com.github.copilot.sdk.json;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.JsonNode;
/**
* Output for a post-tool-use hook.
*
* @param modifiedResult
* the modified tool result, or {@code null} to use original
* @param additionalContext
* additional context to provide to the model
* @param suppressOutput
* {@code true} to suppress output
* @since 1.0.6
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
public record PostToolUseHookOutput(@JsonProperty("modifiedResult") JsonNode modifiedResult,
@JsonProperty("additionalContext") String additionalContext,
@JsonProperty("suppressOutput") Boolean suppressOutput) {
}