MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / toAnthropicUserContent

Function toAnthropicUserContent

src/ifcchat/api_anthropic.js:43–45  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

41}
42
43function toAnthropicUserContent(message) {
44 return typeof message.content === "string" ? message.content : JSON.stringify(message.content ?? "");
45}
46
47function toAnthropicToolResult(message) {
48 return {

Callers 1

splitSystemAndMessagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected