Class JwtTool
A built-in tool for JWT (JSON Web Token) operations.
Decode, validate, and create JWT tokens.
public sealed class JwtTool : ITool
- Inheritance
-
JwtTool
- Implements
- Inherited Members
Examples
var tool = new JwtTool();
registry.Register(tool);
// Agent can now: decode JWTs, validate signatures, check expiration
Properties
- Description
Gets a concise description of what the tool does.
- InputSchema
Gets the JSON Schema defining the expected input arguments.
- Name
Gets the stable, unique identifier for this tool.
Methods
- InvokeAsync(string, CancellationToken)
Executes the tool with the specified JSON arguments.