runnable-hub/python/runnable_workers/toolWorker/request/toolRequest.py (7 lines of code) (raw):
from runnable_hub import RunnableRequest
from typing import Dict
class ToolRequest(RunnableRequest):
runnableCode: str = "TOOL"
toolCode: str
toolVersion: str
inputs: Dict