Skip to content

view tool does not work for Anthropic/BYOM #1070

@nirmalkumarr12

Description

@nirmalkumarr12

We just integrated with the 0.2.2 package and tested view tool, it works for open ai byom models but not for anthropic byom ?

ANTHROPIC (Sonnet46) — view tool result in LLM request:

Plain Text

{
"type": "tool_result",
"tool_use_id": "toolu_01U5dgfBwh9z78k3TTc3WhVm",
"content": "Viewed image file successfully."
}
OPENAI (GPT5Reasoning) — view tool result in LLM request:

Plain Text

{
"role": "tool",
"tool_call_id": "call_j9Jg22DdmchwzBPxaw9f3EgI",
"content": [
"Viewed image file successfully.",
{
"type": "image_url",
"image_url": {
"url": "data:image/png;base64,iVBORw0KGgo..."
}
}
]

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions