ToolChangePolicy

org.llm4s.mcp.ToolChangePolicy

What an MCP client does with a tool whose definition changed after its first listing (#3405).

Attributes

Source
MCPServerConfig.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Refuse extends ToolChangePolicy

Log a warning and leave the tool out of the listing until its definition is back as pinned.

Log a warning and leave the tool out of the listing until its definition is back as pinned.

Attributes

Source
MCPServerConfig.scala
case Report extends ToolChangePolicy

Log a warning and use the new definition.

Log a warning and use the new definition.

Attributes

Source
MCPServerConfig.scala