Ask the human to store a secret
flow_request_secretAsk the flow's owner to enter a third-party credential (API key, auth token, webhook secret) into Final's encrypted vault. THIS TOOL TAKES NO VALUE and no tool ever returns one — the human types it into a masked input in the Miami builder, and it goes straight into the vault. Why: flow builds are DISTRIBUTABLE to other companies, so a credential must never be baked into the code (validate_flow and deploy_flow scan for and block hardcoded secrets). Your generated code reads it at RUNTIME with renderClient.getSecretVal({ key }) and must degrade gracefully while the key isn't stored yet (disable the integration + tell the user to configure it — never crash). After calling this: tell YOUR user to open the builder link and enter the value, and poll list_secret_keys to detect when it lands.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Kebab-case vault key the code will read, e.g. 'twilio-auth-token'. | |
| agent | No | ||
| label | Yes | Human label shown in the builder, e.g. 'Twilio Auth Token'. | |
| flowId | Yes | ||
| reason | Yes | Why the app needs this credential. | |
| docsUrl | No | Where the user can find/generate the credential. | |
| hubToken | No | Organization JWT fallback, only if the hub rejects your API key for this route. | |
| provider | No | The third-party service, e.g. 'Twilio'. |