Skip to content

Commit

Permalink
updated docs for anthropic
Browse files Browse the repository at this point in the history
  • Loading branch information
brnaba-aws committed Oct 15, 2024
1 parent 509ea45 commit e6e51c2
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/src/content/docs/agents/built-in/anthropic-agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,21 +78,21 @@ For more complex use cases, you can create a **Anthropic Agent** with all availa
toolConfig: {
tool: [
{
type: 'function',
function: {
name: 'get_current_weather',
description: 'Get the current weather in a given location',
parameters: {
type: 'object',
name: "Weather_Tool",
description: "Get the current weather for a given location, based on its WGS84 coordinates.",
input_schema: {
type: "object",
properties: {
location: {
type: 'string',
description: 'The city and state, e.g. San Francisco, CA'
},
unit: { type: 'string', enum: ['celsius', 'fahrenheit'] }
latitude: {
type: "string",
description: "Geographical WGS84 latitude of the location.",
},
longitude: {
type: "string",
description: "Geographical WGS84 longitude of the location.",
},
},
required: ['location']
}
required: ["latitude", "longitude"],
}
}
],
Expand Down

0 comments on commit e6e51c2

Please sign in to comment.