Skip to main content
Version: Next

text_call_template

File: plugins/communication_protocols/text/src/utcp_text/text_call_template.py

class TextCallTemplate (CallTemplate)

Documentation

Call template for text file-based manuals and tools.

Reads UTCP manuals or tool definitions from local JSON/YAML files. Useful for static tool configurations or environments where manuals are distributed as files.

Attributes

  • call_template_type: Always "text" for text file call templates.
  • file_path: Path to the file containing the UTCP manual or tool definitions.
  • auth: Always None - text call templates don't support authentication.

Fields:

  • call_template_type: Literal['text']
  • file_path: str
  • auth: None

class TextCallTemplateSerializer (Serializer[TextCallTemplate])

No class documentation available

Methods:

to_dict(self, obj: TextCallTemplate) -> dict

No method documentation available

validate_dict(self, obj: dict) -> TextCallTemplate

No method documentation available