Declare your agents and tools, and publishing registers them
A registered service declares agents, providers, tools, MCP servers, document collections, memory scopes and evaluation datasets in the AI section of its app declaration. Publishing the app declaration synchronizes that catalog into the AI service. Because the catalog is part of the declaration file, it is under version control with the rest of the app. An HTTP tool also needs a definition of its input and an authorized customer-facing endpoint in the service that owns it.