Home/Tools/@tpmjs/tools-pandoc

listOutputFormats

@tpmjs/tools-pandoc

List all supported Pandoc output formats.

Official
utilities
v0.1.0
MIT

Interactive Playground

Test @tpmjs/tools-pandoc (listOutputFormats) 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-pandoc
pnpm add @tpmjs/tools-pandoc
yarn add @tpmjs/tools-pandoc
bun add @tpmjs/tools-pandoc
deno add npm:@tpmjs/tools-pandoc

2. Import the tool

import { listOutputFormats } from '@tpmjs/tools-pandoc';

3. Use with AI SDK

import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { listOutputFormats } from '@tpmjs/tools-pandoc';

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

console.log(result.text);

Signature

() => Promise<unknown>

Tags

agent
conversion
document
formats
list
markdown
output
pandoc
supported
tpmjs
utilities

Parameters

Available configuration options

Auto-extracted

No schema available for this tool.

README

@tpmjs/tools-pandoc

Pandoc document conversion tools for AI agents. Convert between Markdown, HTML, LaTeX, DOCX, PDF, and dozens more formats.

Requirements

The pandoc binary must be available in the system PATH. The TPMJS executor Docker image includes it.

Tools

  • convert — Convert content between document formats
  • listInputFormats — List all supported input formats
  • listOutputFormats — List all supported output formats

Usage

import { convert, listInputFormats, listOutputFormats } from '@tpmjs/tools-pandoc';

Statistics

Downloads/month

46

GitHub Stars

10

Quality Score

85%

Bundle Size

NPM Keywords

tpmjs
pandoc
document
conversion
markdown
agent

Maintainers

thomasdavis(thomasalwyndavis@gmail.com)

Frameworks

vercel-ai