Table of Contents

Class JwtDecodeTool

Namespace
LMKit.Agents.Tools.BuiltIn.Security
Assembly
LM-Kit.NET.dll

A built-in tool for decoding and inspecting JWT tokens.

Decode payload, get claims, check expiration, and validate structure.

public sealed class JwtDecodeTool : IBuiltInTool, ITool, IToolMetadata
Inheritance
JwtDecodeTool
Implements
Inherited Members

Examples

var tool = new JwtDecodeTool();
registry.Register(tool);

// Agent can now: decode JWTs, get claims, check expiration, validate structure

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.

Share