Home/Tools/@tpmjs/official-org-chart-format

orgChartFormatTool

@tpmjs/official-org-chart-format

Formats organizational hierarchy data into structured org chart representation

Official
hr
v0.1.1
MIT

Interactive Playground

Test @tpmjs/official-org-chart-format (orgChartFormatTool) 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-org-chart-format
pnpm add @tpmjs/official-org-chart-format
yarn add @tpmjs/official-org-chart-format
bun add @tpmjs/official-org-chart-format
deno add npm:@tpmjs/official-org-chart-format

2. Import the tool

import { orgChartFormatTool } from '@tpmjs/official-org-chart-format';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { orgChartFormatTool } from '@tpmjs/official-org-chart-format';

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

console.log(result.text);

Signature

(employees: { id: string; name: string; email: string; level: number; title: string }[]) => Promise<unknown>

Tags

chart
data
format
formats
hierarchy
hr
official
org
org-chart
organization
organizational
representation
structured
tpmjs

Parameters

Available configuration options

Auto-extracted
employees
Required
Type: object[]

Employee data with manager relationships

Schema extracted: 3/1/2026, 4:28:40 AM

README

ERROR: No README data found!

Statistics

Downloads/month

19

GitHub Stars

0

Quality Score

76%

Bundle Size

NPM Keywords

tpmjs
hr
org-chart
hierarchy
organization

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai