Skip to content

Commit ee14592

Browse files
committed
cleaning up after bad merge
1 parent d61b13e commit ee14592

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/builtin-tools.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -508,13 +508,13 @@ agent = Agent(
508508
'openai-responses:gpt-4o',
509509
builtin_tools=[
510510
MCPServerTool(
511-
id='your-mcp-server',
512-
url='https://api.githubcopilot.com/mcp/',
513-
authorization_token=os.getenv('GITHUB_ACCESS_TOKEN', 'mock-access-token'),
514-
allowed_tools=['search_repositories', 'list_commits'],
515-
description='Your MCP Server',
516-
headers={'X-CUSTOM-HEADER': 'custom-value'},
517-
provider_metadata={'connector_id': 'connector_googlecalendar'},
511+
id='your-mcp-server', # required field
512+
url='https://api.githubcopilot.com/mcp/', # optional field, use `url` or `provider_metadata`
513+
authorization_token=os.getenv('GITHUB_ACCESS_TOKEN', 'mock-access-token'), # required field
514+
allowed_tools=['search_repositories', 'list_commits'], # optional field
515+
description='Your MCP Server', # optional field
516+
headers={'X-CUSTOM-HEADER': 'custom-value'}, # optional field
517+
provider_metadata={'connector_id': 'connector_googlecalendar'}, # optional field, use `url` or `provider_metadata`
518518
)
519519
]
520520
)

0 commit comments

Comments
 (0)