Home/Tools/@tpmjs/tools-tool-selection-plan

toolSelectionPlanTool

@tpmjs/tools-tool-selection-plan

Analyzes a task description and available tools to create an execution plan. Recommends which tools to use, in what order, and with what confidence level. Useful for automated workflow planning and tool orchestration.

Official
agent
v0.2.0
MIT

Interactive Playground

Test @tpmjs/tools-tool-selection-plan (toolSelectionPlanTool) 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-tool-selection-plan
pnpm add @tpmjs/tools-tool-selection-plan
yarn add @tpmjs/tools-tool-selection-plan
bun add @tpmjs/tools-tool-selection-plan
deno add npm:@tpmjs/tools-tool-selection-plan

2. Import the tool

import { toolSelectionPlanTool } from '@tpmjs/tools-tool-selection-plan';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { toolSelectionPlanTool } from '@tpmjs/tools-tool-selection-plan';

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

console.log(result.text);

Parameters

Available configuration options

Auto-extracted
task
Required
Type: string

Description of the task to accomplish

availableTools
Required
Type: array

Array of available tools with name and description

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

README

ERROR: No README data found!

Statistics

Downloads/month

0

Quality Score

0%

Bundle Size

NPM Keywords

tpmjs
agent
ai
planning
tool-use

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
toolSelectionPlanTool | TPMJS | TPMJS