mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-17 15:17:40 +02:00
9 lines
281 B
Python
9 lines
281 B
Python
from typing import Optional
|
|
from pydantic import BaseModel
|
|
from backend.apps.agents.HaikFix.tools.shared_structs.TOOL_PERMISSIONS import TOOL_PERMISSIONS
|
|
|
|
class Tool(BaseModel):
|
|
name: str
|
|
description: Optional[str] = None
|
|
deferred: bool
|
|
permission: TOOL_PERMISSIONS |