text_call_template
File: plugins/communication_protocols/text/src/utcp_text/text_call_template.py
class TextCallTemplate (CallTemplate)
Documentation
Text call template for UTCP client.
This template allows passing UTCP manuals or tool definitions directly as text content. It supports both JSON and YAML formats and can convert OpenAPI specifications to UTCP manuals. It's browser-compatible and requires no file system access. For file-based manuals, use the file protocol instead.
Attributes
call_template_type: Always "text" for text call templates.content: Direct text content of the UTCP manual or tool definitions (required).base_url: Optional base URL for API endpoints when converting OpenAPI specs.auth: Always None - text call templates don't support authentication.auth_tools: Optional authentication to apply to generated tools from OpenAPI specs.
Fields:
- call_template_type: Literal['text']
- content: str
- base_url: Optional[str]
- auth: None
- auth_tools: Optional[Auth]
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