Execution Context
Built-In Operations
property
Read a local System property; Secret paths begin security.secrets.
| Argument | Type | Required | Default |
|---|---|---|---|
| path | core.string | Yes | — |
| fallback | core.data | No | null |
Returns: core.data
processUrl
External URL of a declared HTTP Process.
| Argument | Type | Required | Default |
|---|---|---|---|
| name | core.string | Yes | — |
Returns: core.string
round
Explicit rounding; places is nonnegative.
| Argument | Type | Required | Default |
|---|---|---|---|
| value | core.numeric | Yes | — |
| places | core.integer | Yes | — |
| rounding | core.string | Yes | — |
Returns: core.decimal
divide
Division with explicit rounding; zero divisor fails.
| Argument | Type | Required | Default |
|---|---|---|---|
| value | core.numeric | Yes | — |
| divisor | core.numeric | Yes | — |
| places | core.integer | Yes | — |
| rounding | core.string | Yes | — |
Returns: core.decimal
Invocation View
Immutable current invocation view; not a Service or host request object.
bytes
Original received body bytes, or null.
No Arguments
Returns: core.bytes?
text
Strictly decoded body text, or null.
| Argument | Type | Required | Default |
|---|---|---|---|
| charset | core.string | No | "UTF-8" |
Returns: core.string?
header
First case-insensitive header value, or null.
| Argument | Type | Required | Default |
|---|---|---|---|
| name | core.string | Yes | — |
Returns: core.string?
headers
Array of all values, empty when absent.
| Argument | Type | Required | Default |
|---|---|---|---|
| name | core.string | Yes | — |
Returns: array<core.string>
parameter
One decoded mapped transport parameter, or null.
| Argument | Type | Required | Default |
|---|---|---|---|
| name | core.string | Yes | — |
Returns: core.string?
origin
Configured external origin, not an untrusted Host header.
No Arguments
Returns: core.string
Result Metadata
{
"forms": [
"object",
"text",
"bytes",
"file",
"redirect"
],
"metadataSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"anyOf": [
{
"enum": [
"ok",
"created",
"accepted",
"noContent",
"seeOther",
"temporaryRedirect"
]
},
{
"type": "integer",
"minimum": 100,
"maximum": 599
}
]
},
"contentType": {
"type": "string"
},
"filename": {
"type": "string"
},
"headers": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
}
}