Skip to content

actaro-sdk


actaro-sdk / McpToolAdapter

Interface: McpToolAdapter<S, E>

Defined in: mcp.ts:5

Type Parameters

S

S extends z.ZodTypeAny

E

E

Properties

call

call: (input) => Awaitable<E>

Defined in: mcp.ts:9

Parameters

input

TypeOf<S>

Returns

Awaitable<E>


description?

optional description?: string

Defined in: mcp.ts:7


idempotencyKey?

optional idempotencyKey?: (input) => string

Defined in: mcp.ts:11

Parameters

input

TypeOf<S>

Returns

string


input

input: S

Defined in: mcp.ts:8


metadata?

optional metadata?: Record<string, unknown>

Defined in: mcp.ts:12


name

name: string

Defined in: mcp.ts:6


verify

verify: (input, toolResult) => Awaitable<VerificationResult>

Defined in: mcp.ts:10

Parameters

input

TypeOf<S>

toolResult

E

Returns

Awaitable<VerificationResult>

Released under the MIT License.