allowedTools

The allowed tools.


public final Tool.McpServer.Builder allowedTools(JsonField<List<AllowedTools>> allowedTools)

Sets Builder.allowedTools to an arbitrary JSON value.

You should usually call Builder.allowedTools with a well-typed List<AllowedTools> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.