Skip to content

BetaContentBlock.TryPickServerToolUse is not returning server side tool calls for webfetch or websearch. #98

@andyjmorgan

Description

@andyjmorgan

Version 12.2.0

foreach (var content in response?.Content ?? [])
{
    if (content.TryPickServerToolUse(out var serverToolUseBlock))
    {
        yield return new ModelResponseServerToolUse()
        {
            // not firing
        };
    }

Not working for Beta.Messages.Create or CreateStreaming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedsdk

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions