🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@vox-ai-app/tools

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vox-ai-app/tools

Tool infrastructure, builtins, docs, and definitions for Vox

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

@vox-ai-app/tools

Core tool infrastructure for Vox: exec utilities, schema validation, builtins (filesystem, shell, fetch), document builders (Word, PDF, PPTX), LLM tool definitions, and the tool registry.

Install

npm install @vox-ai-app/tools

Peer dependency: electron >= 28

Exports

ExportContents
@vox-ai-app/toolsAll core exports
@vox-ai-app/tools/execExec utilities
@vox-ai-app/tools/schemaValidation helpers
@vox-ai-app/tools/networkURL safety checks
@vox-ai-app/tools/registryTool registry

Registry

The registry holds all registered tools (builtins + MCP) and dispatches run() calls.

import {
  registerAll,
  registerMcp,
  unregisterMcp,
  closeAllMcp,
  getDeclarations,
  run,
  setOnChange,
  setLogger
} from '@vox-ai-app/tools/registry'

setLogger(logger)
setOnChange(() => {
  /* tool list changed */
})

registerAll(tools)

const { client, tools } = await connectMcpServer(server)
registerMcp(server, client, tools)

const result = await run('read_file', { path: '~/notes.md' }, { signal })

Document Builders

import { createWordDocument, createPdfDocument, createPresentationDocument } from '@vox-ai-app/tools'

await createWordDocument({ path: '~/report.docx', content: '# Title\n\nBody text.' })
await createPdfDocument({ path: '~/report.pdf', content: '# Title\n\nBody text.' })
await createPresentationDocument({ path: '~/slides.pptx', slides: [...] })

Exec Utilities

import { execAsync, execAbortable, esc, writeTempScript, cleanupTemp } from '@vox-ai-app/tools/exec'

const { stdout } = await execAsync('ls -la', { timeout: 10_000 })
const { stdout } = await execAbortable('long-cmd', { timeout: 30_000 }, signal)

License

MIT

FAQs

Package last updated on 01 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts