Owns the slot; provides the interface and serves it at /api/projects/:projectId/models/ tool-bindings. The declarations are read off the slot at boot; each call attributes them to
the packages of the plugin host as it is then (the host registers its plugins when the
generation commits, after this tree booted).
API
contributes: {
"HttpModule.routes": [
{
"id": "ToolModelBindingsProvider.routes",
"prefix": "/api/projects/:projectId/models/tool-bindings",
"auth": "user",
"order": 99
}
]
}Code Half (@Bind)
@Bind("ToolModelBindingsProvider.routes") routes!: Hono<AppEnv>;
Endpoints (2)
GET
/api/projects/:projectId/models/tool-bindings
ToolModelBindingsProvider.routes · tool-model-bindings.ts:49PATCH
/api/projects/:projectId/models/tool-bindings
ToolModelBindingsProvider.routes · tool-model-bindings.ts:57