Home/Tools/@tpmjs/tools-eval-fixture-build

evalFixtureBuildTool

@tpmjs/tools-eval-fixture-build

Builds structured evaluation fixtures for testing AI tools. Takes tool inputs and expected outputs, then generates comprehensive test fixtures with metadata, difficulty categorization, and coverage analysis.

Official
agent
v0.2.0
MIT

Interactive Playground

Test @tpmjs/tools-eval-fixture-build (evalFixtureBuildTool) with AI-powered execution

0/2000 characters

Installation & Usage

Install this tool and use it with the AI SDK

1. Install the package

npm install @tpmjs/tools-eval-fixture-build
pnpm add @tpmjs/tools-eval-fixture-build
yarn add @tpmjs/tools-eval-fixture-build
bun add @tpmjs/tools-eval-fixture-build
deno add npm:@tpmjs/tools-eval-fixture-build

2. Import the tool

import { evalFixtureBuildTool } from '@tpmjs/tools-eval-fixture-build';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { evalFixtureBuildTool } from '@tpmjs/tools-eval-fixture-build';

const result = await generateText({
  model: openai('gpt-4o'),
  tools: { evalFixtureBuildTool },
  prompt: 'Your prompt here...',
});

console.log(result.text);

Parameters

Available configuration options

Auto-extracted
toolName
Required
Type: string

Name of the tool being tested

inputs
Required
Type: array

Array of input test cases (can be any type)

expectedOutputs
Required
Type: array

Array of expected outputs corresponding to each input

Schema extracted: 1/1/2026, 8:17:57 AM

README

ERROR: No README data found!

Statistics

Downloads/month

0

Quality Score

0%

Bundle Size

NPM Keywords

tpmjs
agent
ai
testing
evaluation

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai