Class JwtSignTool
A built-in tool for creating and verifying JWT tokens with HMAC signatures.
Supports HS256, HS384, and HS512 signing algorithms.
public sealed class JwtSignTool : IBuiltInTool, ITool, IToolMetadata
- Inheritance
-
JwtSignTool
- Implements
- Inherited Members
Examples
var tool = new JwtSignTool();
registry.Register(tool);
// Agent can now: create signed JWTs, verify JWT signatures
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.