Enable LLMs to perform actions through your server
tools/list
endpointtools/call
endpoint, where servers perform the requested operation and return resultsnotifications/tools/list_changed
isError
to true
in the resultcontent
arrayAnnotation | Type | Default | Description |
---|---|---|---|
title | string | - | A human-readable title for the tool, useful for UI display |
readOnlyHint | boolean | false | If true, indicates the tool does not modify its environment |
destructiveHint | boolean | true | If true, the tool may perform destructive updates (only meaningful when readOnlyHint is false) |
idempotentHint | boolean | false | If true, calling the tool repeatedly with the same arguments has no additional effect (only meaningful when readOnlyHint is false) |
openWorldHint | boolean | true | If true, the tool may interact with an “open world” of external entities |