@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.
Test @tpmjs/tools-eval-fixture-build (evalFixtureBuildTool) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-eval-fixture-buildpnpm add @tpmjs/tools-eval-fixture-buildyarn add @tpmjs/tools-eval-fixture-buildbun add @tpmjs/tools-eval-fixture-builddeno add npm:@tpmjs/tools-eval-fixture-buildimport { evalFixtureBuildTool } from '@tpmjs/tools-eval-fixture-build';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);Available configuration options
toolNamestringName of the tool being tested
inputsarrayArray of input test cases (can be any type)
expectedOutputsarrayArray of expected outputs corresponding to each input
Schema extracted: 1/1/2026, 8:17:57 AM
ERROR: No README data found!
Downloads/month
0
Quality Score