File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,6 +50,19 @@ npm start
5050npm run deploy
5151```
5252
53+ ## Available Tools
54+
55+ The following tools are available in this chat agent:
56+
57+ - ** getWeatherInformation** - Get current weather information for a specified city (requires confirmation)
58+ - ** getLocalTime** - Get the local time for a specified location
59+ - ** generateImage** - Generate an image from a text description using Cloudflare Workers AI
60+ - ** searchPokemon** - Search for Pokémon details by name or ID using the PokeAPI
61+ - ** sendWebhook** - Send a message to a configured webhook URL
62+ - ** callDoWorker** - Call the do-worker Cloudflare Worker and return its response
63+ - ** callgraphqlWorker** - Call the graphql worker to get total user agent information
64+ - ** addCloudflareCustomRule** - Create and add custom rules to Cloudflare using the API
65+
5366## Adding New Tools
5467
5568Add new tools in ` tools.ts ` using the tool builder:
Original file line number Diff line number Diff line change 5757 }
5858 ]
5959
60- /**
61- * Smart Placement
62- * Docs: https://developers.cloudflare.com/workers/configuration/smart-placement/#smart-placement
63- */
64- // "placement": { "mode": "smart" },
6560
66- /**
67- * Bindings
68- * Bindings allow your Worker to interact with resources on the Cloudflare Developer Platform, including
69- * databases, object storage, AI inference, real-time communication and more.
70- * https://developers.cloudflare.com/workers/runtime-apis/bindings/
71- */
72-
73- /**
74- * Environment Variables
75- * https://developers.cloudflare.com/workers/wrangler/configuration/#environment-variables
76- */
77- // "vars": { "MY_VARIABLE": "production_value" },
78- /**
79- * Note: Use secrets to store sensitive data.
80- * https://developers.cloudflare.com/workers/configuration/secrets/
81- */
82-
83- /**
84- * Static Assets
85- * https://developers.cloudflare.com/workers/static-assets/binding/
86- */
87- // "assets": { "directory": "./public/", "binding": "ASSETS" },
88-
89- /**
90- * Service Bindings (communicate between multiple Workers)
91- * https://developers.cloudflare.com/workers/wrangler/configuration/#service-bindings
92- */
93- // "services": [{ "binding": "MY_SERVICE", "service": "my-service" }]
9461}
You can’t perform that action at this time.
0 commit comments