Docs.rs
tinyharness-lib-0.5.6
tinyharness-lib 0.5.6
Permalink
Docs.rs crate page
MIT
08 November 2026
Links
Homepage
Repository
crates.io
Source
Owners
PTFOPlayer
Dependencies
futures-util ^0.3
normal
glob ^0.3.2
normal
hmac ^0.13.0
normal
md5 ^0.8.0
normal
regex ^1.11.1
normal
reqwest ^0.13.2
normal
schemars ^1.2.1
normal
serde ^1.0.228
normal
serde_json ^1.0.149
normal
sha2 ^0.11.0
normal
tokio ^1.52.1
normal
tokio-stream ^0.1.18
normal
tokio-tungstenite ^0.29.0
normal
tracing ^0.1
normal
uuid ^1
normal
tempfile ^3
dev
libc ^0.2
normal
Versions
63.87%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module tool
tinyharness_
lib
0.5.6
Module tool
Module Items
Structs
Enums
Functions
Type Aliases
In tinyharness_
lib::
tools
tinyharness_lib
::
tools
Module
tool
Copy item path
Source
Structs
§
Tool
Enums
§
Tool
Category
Classifies a tool by its side effects, used to determine whether the tool requires user approval before execution.
Functions
§
build_
string_
params_
schema
Build a JSON Schema for a tool that accepts string parameters.
required_params
: list of (name, description) pairs for required parameters.
optional_params
: list of (name, description, default_value) for optional parameters.
execute_
tool_
call
make_
tool
Convenience constructor for creating a
Tool
with a string-parameters schema.
optional_
arg
Extract an optional string argument from the tool arguments map. Returns
None
if the key is missing.
require_
arg
Extract a required string argument from the tool arguments map. Returns an error message if the key is missing.
Type Aliases
§
BoxFuture