Skip to main content
  • Method: listPrompts
  • Scope: prompt:read
  • Transports: HTTP RPC, WebSocket RPC
  • Request: {}
  • Response: Prompt[]
Each prompt is a .md/.mdx file walked from .smithers/prompts/. A row carries { id, entryFile, source, createdAtMs?, updatedAtMs? }: id is the file’s relative path without extension (e.g. refactor), entryFile its workspace-relative source path (e.g. prompts/refactor.mdx), source the raw file text, and the optional timestamps come from fs.stat. Errors are versioned as v1 and include InvalidRequest, Unauthorized, Forbidden, and Internal.