Skip to main content
Version: 1.1

file_call_template

File: plugins/communication_protocols/file/src/utcp_file/file_call_template.py

class FileCallTemplate (CallTemplate)

Documentation

Call template for 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. For direct text content, use the text protocol instead.

Attributes

  • call_template_type: Always "file" for file call templates.
  • file_path: Path to the file containing the UTCP manual or tool definitions.
  • auth: Always None - file call templates don't support authentication for file access.
  • auth_tools: Optional authentication to apply to generated tools from OpenAPI specs.

Fields:

  • call_template_type: Literal['file']
  • file_path: str
  • auth: None
  • auth_tools: Optional[Auth]

class FileCallTemplateSerializer (Serializer[FileCallTemplate])

No class documentation available

Methods:

to_dict(self, obj: FileCallTemplate) -> dict

No method documentation available

validate_dict(self, obj: dict) -> FileCallTemplate

No method documentation available