ToolCategory

@Serializable
enum ToolCategory : Enum<ToolCategory> (source)

What a tool call does, in the vocabulary of the Agent Client Protocol's ToolKind (read, edit, delete, move, search, execute, think, fetch, switch_mode, other), which Pydantic AI Harness also uses for its file-system and shell tools. Elements pick a step's view from it: a terminal for EXECUTE, a diff for EDIT, a browser frame for FETCH.

Entries

Link copied to clipboard
@SerialName(value = "read")
READ
Link copied to clipboard
@SerialName(value = "edit")
EDIT
Link copied to clipboard
@SerialName(value = "delete")
DELETE
Link copied to clipboard
@SerialName(value = "move")
MOVE
Link copied to clipboard
@SerialName(value = "search")
SEARCH
Link copied to clipboard
@SerialName(value = "execute")
EXECUTE
Link copied to clipboard
@SerialName(value = "think")
THINK
Link copied to clipboard
@SerialName(value = "fetch")
FETCH
Link copied to clipboard
@SerialName(value = "switch_mode")
SWITCH_MODE
Link copied to clipboard
@SerialName(value = "other")
OTHER

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.