WithReadOnly sets whether only read-only tools should be available. When true, write tools are filtered out. Returns self for chaining.
(readOnly bool)
| 91 | // WithReadOnly sets whether only read-only tools should be available. |
| 92 | // When true, write tools are filtered out. Returns self for chaining. |
| 93 | func (b *Builder) WithReadOnly(readOnly bool) *Builder { |
| 94 | b.readOnly = readOnly |
| 95 | return b |
| 96 | } |
| 97 | |
| 98 | func (b *Builder) WithServerInstructions() *Builder { |
| 99 | b.generateInstructions = true |
no outgoing calls