🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

toolpulse

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

toolpulse

Agent tool reliability monitoring — one-line wrapper for any tool, with schema drift detection and synthetic health checks.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

toolpulse — agent tool reliability monitoring (TypeScript)

npm version License: MIT

One-line wrapper. Catches the silent tool failures your agent can't.

npm install toolpulse
import { monitor } from "toolpulse";

const searchWeb = monitor(async (query: string) => {
  // your existing tool, unchanged
  return await fetch(`...?q=${query}`).then(r => r.json());
}, { toolName: "search_web", agentId: "my-agent" });

That's it. Every call is recorded, schema drift is detected, and you get a dashboard at toolpulse.io.

export TOOLPULSE_API_KEY=tp_live_xxxxxxxxxxxxx

Why ToolPulse

Agent tools fail silently — APIs change response shapes, latency creeps up, exceptions get caught and forgotten. ToolPulse records every tool call, fingerprints the response shape, alerts on schema drift, and runs synthetic health checks.

// Vercel AI SDK
import { tool } from "ai";
import { monitor } from "toolpulse";

const search = tool({
  description: "search the web",
  parameters: z.object({ query: z.string() }),
  execute: monitor(async ({ query }) => { /* ... */ }, { toolName: "search" }),
});

// LangChain.js
import { DynamicStructuredTool } from "@langchain/core/tools";
new DynamicStructuredTool({
  name: "search",
  func: monitor(async (input) => { /* ... */ }, { toolName: "search" }),
  // ...
});

// MCP TypeScript server
server.tool("search", { query: z.string() }, monitor(handler, { toolName: "search" }));

License

MIT

Keywords

llm

FAQs

Package last updated on 11 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts