Run Tool From Source
Attempt to build a tool from source, then run it on the provided arguments
Headers
Body
The source code of the function.
The arguments to pass to the tool (as stringified JSON).
The name of the tool to run.
The type of the source code.
Response
A message representing the return value of a function call (generated by Letta executing the requested function).
Attributes: function_return (str): The return value of the function status (Literal["success", "error"]): The status of the function call id (str): The ID of the message date (datetime): The date the message was created in ISO format function_call_id (str): A unique identifier for the function call that generated this message stdout (Optional[List(str)]): Captured stdout (e.g. prints, logs) from the function invocation stderr (Optional[List(str)]): Captured stderr from the function invocation
success
, error
function_return