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

Function b64_obj

tests/test_prepare.py:121–122  ·  view source on GitHub ↗
(data: object)

Source from the content-addressed store, hash-verified

119
120
121def b64_obj(data: object) -> Any:
122 return {"type": "base64", "media_type": "image/png", "data": data}
123
124
125def image_block(data: object) -> Any:

Calls

no outgoing calls

Tested by

no test coverage detected