Register a prompt when you want clients to fetch reusable prompt material from your server.Documentation Index
Fetch the complete documentation index at: https://redop.useagents.site/docs/llms.txt
Use this file to discover all available pages before exploring further.
Choose your input model
Usearguments for named string inputs. Use argumentsSchema when the handler should receive parsed and validated values.
Register a prompt with arguments
When you define prompt arguments inline, Redop infers their shape in the handler. In this example, args.code is required and args.language is optional.
Register a prompt with argumentsSchema
Use argumentsSchema when the prompt arguments need parsing or validation.
Use both fields carefully
You can define botharguments and argumentsSchema on the same prompt.
When you do:
argumentscontrols MCP prompt metadataargumentscontrols the early missing-required-argument checkargumentsSchemacontrols parsing and handler typing
When prompts fit best
- reusable prompt building blocks
- prompt material that should stay alongside your server logic
- flows where the client wants prompt metadata and arguments, not a tool call