Middleware Channel Host Capability Call v2¶
Source schema: doc/schemas/middleware-channel-host-capability-call.v2.schema.json
Module-authored request body for invoking one host-authorized capability or reading its host-owned routing view through an authenticated channel session.
Governing Basis¶
doc/project/40-proposals/080-multiplexed-middleware-channel-executor.mddoc/project/40-proposals/090-inference-execution-provenance-and-non-local-disclosure.md
Project Lineage¶
Fields¶
| Field | Required | Shape | Description |
|---|---|---|---|
schema |
yes |
const: middleware-channel-host-capability-call.v2 |
|
schema/v |
yes |
const: 2 |
|
capability/id |
yes |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/capability~1id |
|
operation |
no |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/operation |
|
request/schema |
yes |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/request~1schema |
|
request |
yes |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/request |
|
completion/mode |
no |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/completion~1mode |
|
idempotency/key |
no |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/idempotency~1key |
|
response/schema |
no |
ref: middleware-channel-host-capability-call.v1.schema.json#/properties/request~1schema |
Optional exact successful response representation. Unsupported selection refuses before capability I/O; no automatic downgrade. |
Conditional Rules¶
Rule 1¶
When:
{
"required": [
"operation"
],
"properties": {
"operation": {
"const": "lookup"
}
}
}
Then:
{
"not": {
"required": [
"response/schema"
]
}
}
Field Semantics¶
schema¶
- Required:
yes - Shape: const:
middleware-channel-host-capability-call.v2
schema/v¶
- Required:
yes - Shape: const:
2
capability/id¶
- Required:
yes - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/capability~1id
operation¶
- Required:
no - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/operation
request/schema¶
- Required:
yes - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/request~1schema
request¶
- Required:
yes - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/request
completion/mode¶
- Required:
no - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/completion~1mode
idempotency/key¶
- Required:
no - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/idempotency~1key
response/schema¶
- Required:
no - Shape: ref:
middleware-channel-host-capability-call.v1.schema.json#/properties/request~1schema
Optional exact successful response representation. Unsupported selection refuses before capability I/O; no automatic downgrade.