Skip to main content
Home

@agent/tool@0.0.4

latest
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
52%
Published
a year ago (0.0.4)

Namespaces

N
JSON
No documentation available

Type Aliases

f
T
Err

Indicate that the task failed.

T
JSON.Array
No documentation available
T
JSON.Object
No documentation available
T
JSON.Value
No documentation available
f
T
Ok

Indicate that the task executed successfully.

T
Result

Tool execution result/status enum.

f
T
Retry

Indicate that the task should be executed again.

T
Value

The inner value within a successful result.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@agent/tool

Import symbol

import * as mod from "@agent/tool/result";
or

Import directly with a jsr specifier

import * as mod from "jsr:@agent/tool/result";

Add Package

pnpm i jsr:@agent/tool
or (using pnpm 10.8 or older)
pnpm dlx jsr add @agent/tool

Import symbol

import * as mod from "@agent/tool/result";

Add Package

yarn add jsr:@agent/tool
or (using Yarn 4.8 or older)
yarn dlx jsr add @agent/tool

Import symbol

import * as mod from "@agent/tool/result";

Add Package

vlt install jsr:@agent/tool

Import symbol

import * as mod from "@agent/tool/result";

Add Package

npx jsr add @agent/tool

Import symbol

import * as mod from "@agent/tool/result";

Add Package

bunx jsr add @agent/tool

Import symbol

import * as mod from "@agent/tool/result";