MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / _runner_fields

Function _runner_fields

tests/lib/threads/helpers.py:122–123  ·  view source on GitHub ↗
(tool: object, fields: dict[str, Any])

Source from the content-addressed store, hash-verified

120
121
122def _runner_fields(tool: object, fields: dict[str, Any]) -> dict[str, Any]:
123 return _thread_fields({"tools": [tool], "messages": [WEATHER_QUESTION], **fields})
124
125
126def get_weather(location: str) -> str:

Callers 2

make_runnerFunction · 0.85
make_async_runnerFunction · 0.85

Calls 1

_thread_fieldsFunction · 0.85

Tested by

no test coverage detected