Home/Tools/@tpmjs/official-nda-template-draft

ndaTemplateDraftTool

@tpmjs/official-nda-template-draft

Generates NDA template with customizable terms for mutual or unilateral agreements

Official
legal
v0.1.1
MIT
⚠️

This tool is currently broken

Execution Failed
Runtime error with test parameters
Type must be either "mutual" or "unilateral"

Last checked: 2/28/2026, 4:02:00 AM

Interactive Playground

Test @tpmjs/official-nda-template-draft (ndaTemplateDraftTool) 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/official-nda-template-draft
pnpm add @tpmjs/official-nda-template-draft
yarn add @tpmjs/official-nda-template-draft
bun add @tpmjs/official-nda-template-draft
deno add npm:@tpmjs/official-nda-template-draft

2. Import the tool

import { ndaTemplateDraftTool } from '@tpmjs/official-nda-template-draft';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { ndaTemplateDraftTool } from '@tpmjs/official-nda-template-draft';

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

console.log(result.text);

Signature

(type: string, receivingParty: string, disclosingParty: string, term?: number) => Promise<unknown>

Tags

agreements
confidentiality
customizable
draft
generates
legal
mutual
nda
official
template
terms
tpmjs
unilateral

Parameters

Available configuration options

Auto-extracted
type
Required
Type: string

NDA type (mutual or unilateral)

disclosingParty
Required
Type: string

Disclosing party name

receivingParty
Required
Type: string

Receiving party name

term
Optional
Type: number

Term in years (default: 2)

Schema extracted: 2/28/2026, 4:02:00 AM

README

ERROR: No README data found!

Statistics

Downloads/month

27

GitHub Stars

0

Quality Score

77%

Bundle Size

NPM Keywords

tpmjs
legal
nda
template
confidentiality

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai
ndaTemplateDraftTool | TPMJS | TPMJS