On this page
Frozen dataclasses for tool results: FileContent, DirEntry/DirListing, GrepMatch/GrepResult, FileStat/StatResult, GlobResult, DiffResult, GitOutput, ExecResult, HttpResponse, Confirmation, and TaskLifecycleResult.
#protocols.src.orxtra.protocols._types._results
#protocols.src.orxtra.protocols._types._results
#FileContent
FileContent | Field | Type | Default |
content | str | |
is_preview | bool | |
total_lines | int | |
total_bytes | int | |
#DirEntry
DirEntry | Field | Type | Default |
type | str | |
size | `int | None` | |
path | str | |
#DirListing
DirListing | Field | Type | Default |
entries | list[DirEntry] | |
truncated | bool | |
#GrepMatch
GrepMatch | Field | Type | Default |
file | str | |
line_number | int | |
line | str | |
#GrepResult
GrepResult | Field | Type | Default |
matches | list[GrepMatch] | |
mode | str | |
count | `int | None` | |
#FileStat
FileStat | Field | Type | Default |
path | str | |
exists | bool | |
byte_size | `int | None` | |
line_count | `int | None` | |
language | `str | None` | |
mtime | `str | None` | |
binary | bool | |
#StatResult
StatResult | Field | Type | Default |
files | list[FileStat] | |
#GlobResult
GlobResult | Field | Type | Default |
paths | list[str] | |
truncated | bool | |
#DiffResult
DiffResult | Field | Type | Default |
diff | str | |
identical | bool | |
#GitOutput
GitOutput | Field | Type | Default |
output | str | |
subcommand | str | |
exit_code | int | |
#ExecResult
ExecResult | Field | Type | Default |
stdout | str | |
stderr | str | |
exit_code | int | |
timed_out | bool | |
duration_ms | int | |
#HttpResponse
HttpResponse | Field | Type | Default |
status_code | int | |
headers | dict[str, str] | |
body | str | |
elapsed_ms | int | |
#Confirmation
Confirmation | Field | Type | Default |
message | str | |
#ConsultResponse
ConsultResponse | Field | Type | Default |
text | str | |
model | `str | None` | |
#TaskLifecycleResult
TaskLifecycleResult | Field | Type | Default |
message | str | |
task_id | `str | None` | |
details | `dict[str, Any] | None` | |
Share this page