Class ToolAnnotations (0.7.2)

ToolAnnotations(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

Name Description
title str
Optional. A human-readable title for the tool (if different from Tool.title).
read_only_hint bool
Optional. Hint indicating if the tool is read-only. This field is a member of oneof_ _read_only_hint.
destructive_hint bool
Optional. Hint indicating if the tool may have destructive side effects. This field is a member of oneof_ _destructive_hint.
idempotent_hint bool
Optional. Hint indicating if the tool is idempotent. This field is a member of oneof_ _idempotent_hint.
open_world_hint bool
Optional. Hint indicating if the tool interacts with the open world (e.g., internet). This field is a member of oneof_ _open_world_hint.
additional_hints MutableMapping[str, str]
Optional. Additional hints which may help tools and not covered in defaults.

Classes

AdditionalHintsEntry

AdditionalHintsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.