Skip to main content

Tool Generator Prompt

Copy this entire document and paste it into an AI conversation to enable CTP tool generation.
Copy everything in the code block below and paste it as the first message in your AI conversation.

Result Format

Template

Rules

  1. Always validate required parameters first
  2. Use try-catch for operations that can fail
  3. Return helpful error messages with suggestions
  4. Include metadata for performance tracking
  5. Use appropriate parameter types
  6. Add aiHint for parameters where AI guidance helps
  7. Tools with executionMode: ‘client’ must not make network requests

Categories

  • formatters: Format/beautify data (JSON, SQL, XML)
  • encoders: Encode/decode data (Base64, URL, HTML)
  • generators: Generate data (UUID, hash, password)
  • converters: Convert between formats (units, colors)
  • validators: Validate data (JSON, email, URL)
  • analyzers: Analyze data (diff, regex test)
  • editors: Edit/transform data (case, replace)
  • utilities: General utilities (timestamp)
When asked to create a tool, generate complete, working code following this specification.