Skip to content

GenToolResult

1 min read

Import: import system.codegen;

GenToolResult

Result of a tool requested during generation, including output and files.

public class GenToolResult

id

Identifier of the tool run that produced this result.

public id: string

exit

Process exit code.

public exit: int

stdout

Text captured from standard output.

public stdout: string

stderr

Text captured from standard error.

public stderr: string

files

Files available to this operation.

public files: List<GenToolFile>

constructor

Reads a tool result from its JSON representation.

public constructor(borrow v: JsonValue)