Home/Tools/@davincidreams/my-tools

exampleTool

@davincidreams/my-tools

An example tool - customize this for your use case

Official
ai-ml
v0.0.1
MIT
⚠️

This tool is currently broken

Import Failed
Cannot load from Railway service
Module not found "https://esm.sh/@davincidreams/my-tools@0.0.1".

Last checked: 3/1/2026, 4:27:18 AM

Interactive Playground

Test @davincidreams/my-tools (exampleTool) 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 @davincidreams/my-tools
pnpm add @davincidreams/my-tools
yarn add @davincidreams/my-tools
bun add @davincidreams/my-tools
deno add npm:@davincidreams/my-tools

2. Import the tool

import { exampleTool } from '@davincidreams/my-tools';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { exampleTool } from '@davincidreams/my-tools';

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

console.log(result.text);

Parameters

Available configuration options

No schema

No schema available for this tool.

README

@davincidreams/my-tools

AI SDK tools for my-tools

Installation

pnpm add @davincidreams/my-tools

Tools

This package provides 2 tools for the AI SDK:

  • exampleTool: An example tool - customize this for your use case
  • anotherTool: Another example tool - add your implementation here

Usage

import { exampleTool } from '@davincidreams/my-tools';
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';

const result = await generateText({
  model: openai('gpt-4'),
  prompt: 'Process this text for me',
  tools: {
    exampleTool,
  },
});

console.log(result.text);

Development

# Install dependencies
pnpm install

# Build the package
pnpm build

# Type-check
pnpm type-check

# Watch mode
pnpm dev

Publishing

  1. Update the version in package.json
  2. Build the package: pnpm build
  3. Publish to npm: pnpm publish --access public
  4. Your tools will appear on tpmjs.com within 2-15 minutes

License

MIT

Statistics

Downloads/month

5

GitHub Stars

0

Quality Score

45%

Bundle Size

NPM Keywords

tpmjs-tool
ai-sdk
ai-ml

Maintainers

davincidreams(lisamegawatts@gmail.com)